const
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:15:10 +0000 (14:15 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:15:10 +0000 (14:15 +0000)
Originally committed as revision 11744 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/sonic.c

index bff21eb8d2cc2aeae10adf5905c5bdb1a6ff35b1..9e193d469de394528e8f012899743f7ff05e3751 100644 (file)
@@ -851,7 +851,7 @@ static int sonic_decode_close(AVCodecContext *avctx)
 
 static int sonic_decode_frame(AVCodecContext *avctx,
                             void *data, int *data_size,
-                            uint8_t *buf, int buf_size)
+                            const uint8_t *buf, int buf_size)
 {
     SonicContext *s = avctx->priv_data;
     GetBitContext gb;