summaryrefslogtreecommitdiff
path: root/libavcodec/truemotion1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:57:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:57:38 +0000
commit04650579ec9b77e8ecd12547e0e176540c1b5414 (patch)
tree3f4baada894bbaf506c02c3bf45cfd7b744d87b0 /libavcodec/truemotion1.c
parent4a431e9e51e6679284447d6a98e4b788040d223f (diff)
more const
Originally committed as revision 11778 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r--libavcodec/truemotion1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index 8427ec2fc7..50948fdda3 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -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(TrueMotion1Context *s)
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(TrueMotion1Context *s)
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;