changeset 6257:68d4853b5fae libavcodec

const
author michael
date Fri, 01 Feb 2008 14:28:50 +0000
parents e7c178d397ea
children 6412f1a039ba
files truemotion1.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/truemotion1.c	Fri Feb 01 14:28:22 2008 +0000
+++ b/truemotion1.c	Fri Feb 01 14:28:50 2008 +0000
@@ -43,10 +43,10 @@
     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 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;