# HG changeset patch # User michael # Date 1201876130 0 # Node ID 68d4853b5faed7f30a2738e437733c33a52cb2f5 # Parent e7c178d397ea77d29e99be504d789e40584361c5 const diff -r e7c178d397ea -r 68d4853b5fae truemotion1.c --- 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;