]> git.sesse.net Git - ffmpeg/commitdiff
const
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 04:14:46 +0000 (04:14 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 04:14:46 +0000 (04:14 +0000)
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/flac.c

index 2c003b099db3281d04636ee845bdc78676865f7b..475c343e699b7603254c6db1c6aa0c7d99052c16 100644 (file)
@@ -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;