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


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

    r918 r938  
    312312              // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive
    313313              assert( pcPPS->getScalingListRefLayerId() <= 62 );
    314               WRITE_UVLC( pcPPS->getScalingListRefLayerId(), "pps_scaling_list_ref_layer_id" );
     314              WRITE_CODE( pcPPS->getScalingListRefLayerId(), 6, "pps_scaling_list_ref_layer_id" );
    315315            }
    316316#endif
     
    674674      assert( pcSPS->getScalingListRefLayerId() <= 62 );
    675675
    676       WRITE_UVLC( pcSPS->getScalingListRefLayerId(), "sps_scaling_list_ref_layer_id" );
     676      WRITE_CODE( pcSPS->getScalingListRefLayerId(), 6, "sps_scaling_list_ref_layer_id" );
    677677    }
    678678    else
Note: See TracChangeset for help on using the changeset viewer.