aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/idcinvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
commit7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch)
tree12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/idcinvideo.c
parentff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff)
downloadffmpeg-7993df65275a9a9bf0a04c37d1aa31901d3ebb0c.tar.gz
consts
I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/idcinvideo.c')
-rw-r--r--libavcodec/idcinvideo.c4
1 files changed, 2 insertions, 2 deletions
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;