changeset 6284:20a72aa8179b libavcodec

more const
author michael
date Fri, 01 Feb 2008 15:57:38 +0000
parents 2134a0fc46f3
children 5b44e0210dad
files truemotion1.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/truemotion1.c	Fri Feb 01 15:56:51 2008 +0000
+++ b/truemotion1.c	Fri Feb 01 15:57:38 2008 +0000
@@ -48,7 +48,7 @@
 
     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 @@
     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 @@
     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;