Mercurial > libavcodec.hg
diff msrle.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 | f99e40a7155b |
children | 48759bfbd073 |
line wrap: on
line diff
--- a/msrle.c Fri Feb 01 02:36:09 2008 +0000 +++ b/msrle.c Fri Feb 01 03:26:31 2008 +0000 @@ -43,7 +43,7 @@ AVCodecContext *avctx; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; } MsrleContext; @@ -250,7 +250,7 @@ static int msrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { MsrleContext *s = avctx->priv_data;