Mercurial > libavcodec.hg
diff idcinvideo.c @ 6218:dfdff1ca78a7 libavcodec
consts
I have underestimated this a little, and these are just some ...
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:26:31 +0000 |
parents | 2b72f9bc4f06 |
children | 814c8bd77d91 |
line wrap: on
line diff
--- a/idcinvideo.c Fri Feb 01 02:36:09 2008 +0000 +++ b/idcinvideo.c Fri Feb 01 03:26:31 2008 +0000 @@ -69,7 +69,7 @@ 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 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;