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

Originally committed as revision 11850 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent f70eccdb39
commit 1db38dad33
  1. 4
      libavcodec/rv34.h

@ -81,8 +81,8 @@ typedef struct RV34DecContext{
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

Loading…
Cancel
Save