[FFmpeg-cvslog] r11778 - trunk/libavcodec/truemotion1.c

michael subversion
Fri Feb 1 16:57:38 CET 2008


Author: michael
Date: Fri Feb  1 16:57:38 2008
New Revision: 11778

Log:
more const


Modified:
   trunk/libavcodec/truemotion1.c

Modified: trunk/libavcodec/truemotion1.c
==============================================================================
--- trunk/libavcodec/truemotion1.c	(original)
+++ trunk/libavcodec/truemotion1.c	Fri Feb  1 16:57:38 2008
@@ -48,7 +48,7 @@ typedef struct TrueMotion1Context {
 
     const uint8_t *mb_change_bits;
     int mb_change_bits_row_size;
-    uint8_t *index_stream;
+    const uint8_t *index_stream;
     int index_stream_size;
 
     int flags;
@@ -603,7 +603,7 @@ static void truemotion1_decode_16bit(Tru
     int keyframe = s->flags & FLAG_KEYFRAME;
 
     /* these variables are for managing the stream of macroblock change bits */
-    unsigned char *mb_change_bits = s->mb_change_bits;
+    const unsigned char *mb_change_bits = s->mb_change_bits;
     unsigned char mb_change_byte;
     unsigned char mb_change_byte_mask;
     int mb_change_index;
@@ -729,7 +729,7 @@ static void truemotion1_decode_24bit(Tru
     int keyframe = s->flags & FLAG_KEYFRAME;
 
     /* these variables are for managing the stream of macroblock change bits */
-    unsigned char *mb_change_bits = s->mb_change_bits;
+    const unsigned char *mb_change_bits = s->mb_change_bits;
     unsigned char mb_change_byte;
     unsigned char mb_change_byte_mask;
     int mb_change_index;




More information about the ffmpeg-cvslog mailing list