From 1545c5e5350a1926febdfc9a58d2d86758a582a6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 04:14:46 +0000 Subject: [PATCH] const Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flac.c b/libavcodec/flac.c index 2c003b099d..475c343e69 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -590,7 +590,7 @@ static int decode_frame(FLACContext *s, int alloc_data_size) static int flac_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { FLACContext *s = avctx->priv_data; int tmp = 0, i, j = 0, input_buf_size = 0;