From 2b57b46313b3524f80e3b6f6cc6e6cf31dd95866 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 14:10:56 +0000 Subject: [PATCH] const Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/smc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 78f130cf3..f181e0c4c 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -48,7 +48,7 @@ typedef struct SmcContext { DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; /* SMC color tables */ @@ -443,7 +443,7 @@ static int smc_decode_init(AVCodecContext *avctx) static int smc_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { SmcContext *s = avctx->priv_data; -- 2.11.0