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/idcinvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/idcinvideo.c') diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index eeb538c4f0..79ed6fb170 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -69,7 +69,7 @@ typedef struct IdcinContext { DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; hnode_t huff_nodes[256][HUF_TOKENS*2]; @@ -212,7 +212,7 @@ static void idcin_decode_vlcs(IdcinContext *s) static int idcin_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { IdcinContext *s = avctx->priv_data; AVPaletteControl *palette_control = avctx->palctrl; -- cgit v1.2.3