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

libavcodec/roqvideodec.c

index 43d14a4..67687ce 100644 (file)
@@ -171,7 +171,7 @@ static int roq_decode_init(AVCodecContext *avctx)
 
 static int roq_decode_frame(AVCodecContext *avctx,
                             void *data, int *data_size,
-                            uint8_t *buf, int buf_size)
+                            const uint8_t *buf, int buf_size)
 {
     RoqContext *s = avctx->priv_data;
     int copy= !s->current_frame->data[0];