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


Ignore:
Timestamp:
8 Jul 2015, 03:11:41 (11 years ago)
Author:
seregin
Message:

macro cleanup: NON_REF_NAL_TYPE_DISCARDABLE

File:
1 edited

Legend:

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

    r1182 r1183  
    12251225    if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    12261226    {
    1227       READ_FLAG(uiCode, "discardable_flag"); // ignored
    1228 #if NON_REF_NAL_TYPE_DISCARDABLE
     1227      READ_FLAG(uiCode, "discardable_flag");
    12291228      pcSlice->setDiscardableFlag( uiCode ? true : false );
    1230       if (uiCode)
     1229
     1230      if( uiCode )
    12311231      {
    12321232        assert(pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_TRAIL_R &&
     
    12361236          pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL_R);
    12371237      }
    1238 #endif
     1238
    12391239      iBits++;
    12401240    }
Note: See TracChangeset for help on using the changeset viewer.