[FFmpeg-cvslog] r11850 - trunk/libavcodec/rv34.h

diego subversion
Mon Feb 4 11:26:36 CET 2008


Author: diego
Date: Mon Feb  4 11:26:35 2008
New Revision: 11850

Log:
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


Modified:
   trunk/libavcodec/rv34.h

Modified: trunk/libavcodec/rv34.h
==============================================================================
--- trunk/libavcodec/rv34.h	(original)
+++ trunk/libavcodec/rv34.h	Mon Feb  4 11:26:35 2008
@@ -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




More information about the ffmpeg-cvslog mailing list