changeset 6289:d1cf4f790f31 libavcodec

const
author michael
date Fri, 01 Feb 2008 16:03:03 +0000
parents 911d4939e3c8
children b7045a85cd7d
files vcr1.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vcr1.c	Fri Feb 01 15:59:41 2008 +0000
+++ b/vcr1.c	Fri Feb 01 16:03:03 2008 +0000
@@ -39,12 +39,12 @@
 
 static int decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     VCR1Context * const a = avctx->priv_data;
     AVFrame *picture = data;
     AVFrame * const p= (AVFrame*)&a->picture;
-    uint8_t *bytestream= buf;
+    const uint8_t *bytestream= buf;
     int i, x, y;
 
     if(p->data[0])