From 1db38dad337a8e62682bcfce20e4ef3f6990c2d8 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 4 Feb 2008 10:26:35 +0000 Subject: [PATCH] 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 --- libavcodec/rv34.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index 0cb76de707..dff36f29e7 100644 --- a/libavcodec/rv34.h +++ b/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