# HG changeset patch # User diego # Date 1202120795 0 # Node ID 0e5d683204883e8286b3864eadddd6b72deb6854 # Parent 6335f2688c0422e2f13e8450db86550fa365d776 Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of "assignment discards qualifiers from pointer target type" warnings. blessed by Konstantin Shishkov diff -r 6335f2688c04 -r 0e5d68320488 rv34.h --- a/rv34.h Mon Feb 04 00:49:14 2008 +0000 +++ b/rv34.h Mon Feb 04 10:26:35 2008 +0000 @@ -81,8 +81,8 @@ MpegEncContext s; int8_t *intra_types_hist;///< old block types, used for prediction int8_t *intra_types; ///< block types - uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes - uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes + const uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes + const uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes RV34VLC *cur_vlcs; ///< VLC set used for current frame decoding int bits; ///< slice size in bits