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

libavcodec/pnmenc.c

index a7e70eb..c5061f2 100644 (file)
@@ -34,7 +34,7 @@ static int common_init(AVCodecContext *avctx){
 
 static int pnm_decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     PNMContext * const s = avctx->priv_data;
     AVFrame *picture = data;