Ticket #1362: fix.patch

File fix.patch, 687 bytes (added by gregory, 7 years ago)

Patch add assertion

  • source/Lib/TLibCommon/TComSlice.cpp

    commit b08441030bc9095b3727c0f30c25eb0ff0decb40
    Author: Shimansky, Gregory <gregory.shimansky@intel.com>
    Date:   Wed Jan 21 11:18:47 2015 +0400
    
        Added assert for maximum NumPicTotalCurr value
    
    diff --git a/source/Lib/TLibCommon/TComSlice.cpp b/source/Lib/TLibCommon/TComSlice.cpp
    index 0e7e3d8..908a14f 100644
    a b Void TComSlice::setRefPicList( TComList<TComPic*>& rcListPic, Bool checkNumPocTo 
    412412    }
    413413
    414414    assert(numPocTotalCurr > 0);
     415    assert(numPocTotalCurr <= 8);
    415416
    416417    m_aiNumRefIdx[0] = getNumRefIdx(REF_PIC_LIST_0);
    417418    m_aiNumRefIdx[1] = getNumRefIdx(REF_PIC_LIST_1);