From 9bb5e9e945417f2de94a9db24914a3e5723baccf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 13:32:41 +0000 Subject: [PATCH] const Originally committed as revision 11729 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h261dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index f35f79185e..264a7d3f58 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h261dec.c @@ -540,7 +540,7 @@ static int get_consumed_bytes(MpegEncContext *s, int buf_size){ static int h261_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { H261Context *h= avctx->priv_data; MpegEncContext *s = &h->s;