changeset 6326:0e5d68320488 libavcodec

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
author diego
date Mon, 04 Feb 2008 10:26:35 +0000
parents 6335f2688c04
children 5b3e72f4bd4e
files rv34.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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