diff nuv.c @ 6218:dfdff1ca78a7 libavcodec

consts I have underestimated this a little, and these are just some ...
author michael
date Fri, 01 Feb 2008 03:26:31 +0000
parents d540c7d88344
children 930ac362be5a
line wrap: on
line diff
--- a/nuv.c	Fri Feb 01 02:36:09 2008 +0000
+++ b/nuv.c	Fri Feb 01 03:26:31 2008 +0000
@@ -129,7 +129,7 @@
 }
 
 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                        uint8_t *buf, int buf_size) {
+                        const uint8_t *buf, int buf_size) {
     NuvContext *c = avctx->priv_data;
     AVFrame *picture = data;
     int orig_size = buf_size;