diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 17:28:50 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 17:28:50 +0300 |
commit | f5b2e900105bcc923dfeb9018c1bf8b974a36b1e (patch) | |
tree | 9b7281fe252ee5c593192be1d19c6438815176b3 /libavcodec/truemotion1.c | |
parent | 08e505293041e6bbe1c9f6c4db73f6045c778d32 (diff) |
const
Originally committed as revision 11748 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r-- | libavcodec/truemotion1.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |