Changeset 1012 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder


Ignore:
Timestamp:
4 Feb 2015, 00:25:57 (10 years ago)
Author:
seregin
Message:

port the fix to the ticket #55 (rev 1011)

File:
1 edited

Legend:

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

    r1006 r1012  
    40094009    READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" );
    40104010    vps->setCrossLayerIrapAlignFlag(uiCode);
     4011#endif
     4012#if O0223_PICTURE_TYPES_ALIGN_FLAG
     4013  }
     4014  else
     4015  {
     4016    vps->setCrossLayerIrapAlignFlag(true);
     4017  }
     4018#endif
    40114019#if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG
    4012     if( uiCode )
    4013     {
    4014       READ_FLAG( uiCode, "all_layers_idr_aligned_flag" );
    4015       vps->setCrossLayerAlignedIdrOnlyFlag(uiCode);
    4016     }
    4017 #endif
    4018 #endif
    4019 #if O0223_PICTURE_TYPES_ALIGN_FLAG
    4020   }
    4021   else
    4022   {
    4023     vps->setCrossLayerIrapAlignFlag(true);
     4020  if( uiCode )
     4021  {
     4022    READ_FLAG( uiCode, "all_layers_idr_aligned_flag" );
     4023    vps->setCrossLayerAlignedIdrOnlyFlag(uiCode);
    40244024  }
    40254025#endif
     
    41994199  {
    42004200#if VPS_FIX_TO_MATCH_SPEC
    4201       for( i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++ )
    4202 #else
    4203       for (i = 0; i < vps->getMaxLayers(); i++)
     4201    for( i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++ )
     4202#else
     4203    for (i = 0; i < vps->getMaxLayers(); i++)
    42044204#endif
    42054205    {
Note: See TracChangeset for help on using the changeset viewer.