From 7993df65275a9a9bf0a04c37d1aa31901d3ebb0c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 03:26:31 +0000 Subject: consts I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/msvideo1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/msvideo1.c') diff --git a/libavcodec/msvideo1.c b/libavcodec/msvideo1.c index 2106498bae..baac48a851 100644 --- a/libavcodec/msvideo1.c +++ b/libavcodec/msvideo1.c @@ -52,7 +52,7 @@ typedef struct Msvideo1Context { DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; int mode_8bit; /* if it's not 8-bit, it's 16-bit */ @@ -297,7 +297,7 @@ static void msvideo1_decode_16bit(Msvideo1Context *s) static int msvideo1_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { Msvideo1Context *s = avctx->priv_data; -- cgit v1.2.3