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


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

fix for the ticket #42

File:
1 edited

Legend:

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

    r936 r938  
    403403            if( pcPPS->getInferScalingListFlag() )
    404404            {
    405               READ_UVLC( uiCode, "pps_scaling_list_ref_layer_id" );
     405              READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" );
    406406              pcPPS->setScalingListRefLayerId( uiCode );
    407407              // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
     
    885885    if( pcSPS->getInferScalingListFlag() )
    886886    {
    887       READ_UVLC( uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode );
    888 
    889       // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
     887      READ_CODE( 6, uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode );
     888
     889      // The value of sps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
    890890      assert( pcSPS->getScalingListRefLayerId() <= 62 );
    891891
Note: See TracChangeset for help on using the changeset viewer.