diff rv34.h @ 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 a425bdc70ac5
children 05c3a4b419e9
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