From f5b2e900105bcc923dfeb9018c1bf8b974a36b1e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 14:28:50 +0000 Subject: const Originally committed as revision 11748 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/truemotion1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/truemotion1.c') diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index be95dd294b..8427ec2fc7 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -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; -- cgit v1.2.3