changeset 6272:ec8c482d17c1 libavcodec

some const
author michael
date Fri, 01 Feb 2008 15:34:00 +0000
parents fd69759904c7
children 39cd8d3d5b9e
files pnmenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pnmenc.c	Fri Feb 01 15:30:29 2008 +0000
+++ b/pnmenc.c	Fri Feb 01 15:34:00 2008 +0000
@@ -34,7 +34,7 @@
 
 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;