Changeset 69 in SHVCSoftware for branches


Ignore:
Timestamp:
7 Mar 2013, 16:25:33 (12 years ago)
Author:
vidyo
Message:

bug fix. The assert condition (assert( pcSlice->getNumRefIdx( eRefPicList) > 0 );) is not correct for LDP case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp

    r57 r69  
    20552055    RefPicList eRefPicList = RefPicList( iRefPicList );
    20562056
    2057     assert( pcSlice->getNumRefIdx( eRefPicList) > 0 );
     2057    assert( pcSlice->getNumRefIdx( eRefPicList) >= 0 );
    20582058    setNumRefIdx( eRefPicList, pcSlice->getNumRefIdx( eRefPicList ) - 1 );
    20592059    assert( getNumRefIdx( eRefPicList) <= MAX_NUM_REF);
Note: See TracChangeset for help on using the changeset viewer.