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


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/TLibEncoder/TEncCavlc.cpp

    r908 r937  
    237237    assert( pcPPS->getScalingListRefLayerId() <= 62 );
    238238
    239     WRITE_UVLC( pcPPS->getScalingListRefLayerId(), "pps_scaling_list_ref_layer_id" );
     239    WRITE_CODE( pcPPS->getScalingListRefLayerId(), 6, "pps_scaling_list_ref_layer_id" );
    240240  }
    241241  else
     
    355355    // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
    356356    assert( pcPPS->getScalingListRefLayerId() <= 62 );
    357     WRITE_UVLC( pcPPS->getScalingListRefLayerId(), "pps_scaling_list_ref_layer_id" );
     357    WRITE_CODE( pcPPS->getScalingListRefLayerId(), 6, "pps_scaling_list_ref_layer_id" );
    358358  }
    359359#endif
     
    796796      assert( pcSPS->getScalingListRefLayerId() <= 62 );
    797797
    798       WRITE_UVLC( pcSPS->getScalingListRefLayerId(), "sps_scaling_list_ref_layer_id" );
     798      WRITE_CODE( pcSPS->getScalingListRefLayerId(), 6, "sps_scaling_list_ref_layer_id" );
    799799    }
    800800    else
Note: See TracChangeset for help on using the changeset viewer.