const
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:28:50 +0000 (14:28 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:28:50 +0000 (14:28 +0000)
Originally committed as revision 11748 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/truemotion1.c

index be95dd2..8427ec2 100644 (file)
@@ -43,10 +43,10 @@ typedef struct TrueMotion1Context {
     AVCodecContext *avctx;
     AVFrame frame;
 
-    uint8_t *buf;
+    const uint8_t *buf;
     int size;
 
-    uint8_t *mb_change_bits;
+    const uint8_t *mb_change_bits;
     int mb_change_bits_row_size;
     uint8_t *index_stream;
     int index_stream_size;
@@ -846,7 +846,7 @@ static void truemotion1_decode_24bit(TrueMotion1Context *s)
 
 static int truemotion1_decode_frame(AVCodecContext *avctx,
                                     void *data, int *data_size,
-                                    uint8_t *buf, int buf_size)
+                                    const uint8_t *buf, int buf_size)
 {
     TrueMotion1Context *s = avctx->priv_data;