summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-02-04 10:26:35 +0000
committerDiego Biurrun <diego@biurrun.de>2008-02-04 10:26:35 +0000
commit1db38dad337a8e62682bcfce20e4ef3f6990c2d8 (patch)
tree32269c86e9448367e8fc32ffc7522de9ba943ba7 /libavcodec/rv34.h
parentf70eccdb39feb9788d4b43e6e0d5972b85edbe74 (diff)
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
Diffstat (limited to 'libavcodec/rv34.h')
-rw-r--r--libavcodec/rv34.h4
1 files 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