Mercurial > libavcodec.hg
diff msvideo1.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/msvideo1.c Fri Feb 01 02:36:09 2008 +0000 +++ b/msvideo1.c Fri Feb 01 03:26:31 2008 +0000 @@ -52,7 +52,7 @@ DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; int mode_8bit; /* if it's not 8-bit, it's 16-bit */ @@ -297,7 +297,7 @@ static int msvideo1_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { Msvideo1Context *s = avctx->priv_data;