Changeset 508 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
3 Dec 2013, 18:51:59 (11 years ago)
Author:
seregin
Message:

correct the slice type setting as suggested in the ticket #8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r507 r508  
    21202120#if M0457_COL_PICTURE_SIGNALING
    21212121#if REMOVE_COL_PICTURE_SIGNALING
    2122       rpcSlice->setMFMEnabledFlag( rpcSlice->getNumMotionPredRefLayers() > 0 ? true : false );
     2122      rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false );
    21232123#else
    21242124      rpcSlice->setMFMEnabledFlag( false );
Note: See TracChangeset for help on using the changeset viewer.