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/msrle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/msrle.c') diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index 4b9dc0ce5b..51893cbb7b 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -43,7 +43,7 @@ typedef struct MsrleContext { AVCodecContext *avctx; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; } MsrleContext; @@ -250,7 +250,7 @@ static int msrle_decode_init(AVCodecContext *avctx) static int msrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { MsrleContext *s = avctx->priv_data; -- cgit v1.2.3