]> git.sesse.net Git - ffmpeg/commitdiff
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 a7e70eb2f367906a098e4c1d5bf7400aa5b9be6d..c5061f2e757709a364a729563556323a2b50f21f 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;