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


Ignore:
Timestamp:
26 Dec 2014, 20:41:19 (11 years ago)
Author:
seregin
Message:

fix for the ticket #42

File:
1 edited

Legend:

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

    r923 r937  
    305305  if( pcPPS->getInferScalingListFlag() )
    306306  {
    307     READ_UVLC( uiCode, "pps_scaling_list_ref_layer_id" ); pcPPS->setScalingListRefLayerId( uiCode );
     307    READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" ); pcPPS->setScalingListRefLayerId( uiCode );
    308308
    309309    // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
     
    479479    if( pcPPS->getInferScalingListFlag() )
    480480    {
    481       READ_UVLC( uiCode, "pps_scaling_list_ref_layer_id" );
     481      READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" );
    482482      pcPPS->setScalingListRefLayerId( uiCode );
    483483      // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
     
    10431043    if( pcSPS->getInferScalingListFlag() )
    10441044    {
    1045       READ_UVLC( uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode );
    1046 
    1047       // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
     1045      READ_CODE( 6, uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode );
     1046
     1047      // The value of sps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
    10481048      assert( pcSPS->getScalingListRefLayerId() <= 62 );
    10491049
Note: See TracChangeset for help on using the changeset viewer.