Changeset 68 in SHVCSoftware for branches


Ignore:
Timestamp:
7 Mar 2013, 00:08:06 (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/SHM-1.1-dev/source/Lib/TLibCommon/TComSlice.cpp

    r52 r68  
    22202220    RefPicList eRefPicList = RefPicList( iRefPicList );
    22212221
    2222     assert( pcSlice->getNumRefIdx( eRefPicList) > 0 );
     2222    assert( pcSlice->getNumRefIdx( eRefPicList) >= 0 );
    22232223    setNumRefIdx( eRefPicList, pcSlice->getNumRefIdx( eRefPicList ) - 1 );
    22242224    assert( getNumRefIdx( eRefPicList) <= MAX_NUM_REF);
Note: See TracChangeset for help on using the changeset viewer.