OSDN Git Service

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

libavcodec/snow.c

index 4f8a8d0..687058f 100644 (file)
@@ -4567,7 +4567,7 @@ static int decode_init(AVCodecContext *avctx)
     return 0;
 }
 
-static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size){
+static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size){
     SnowContext *s = avctx->priv_data;
     RangeCoder * const c= &s->c;
     int bytes_read;