changeset 6295:d256d072f23d libavcodec

const
author michael
date Fri, 01 Feb 2008 16:13:16 +0000
parents 67e4586d3c1b
children 8624c08b6c54
files vqavideo.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vqavideo.c	Fri Feb 01 16:12:00 2008 +0000
+++ b/vqavideo.c	Fri Feb 01 16:13:16 2008 +0000
@@ -104,7 +104,7 @@
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
     uint32_t palette[PALETTE_COUNT];
@@ -202,7 +202,7 @@
         return; \
     }
 
-static void decode_format80(unsigned char *src, int src_size,
+static void decode_format80(const unsigned char *src, int src_size,
     unsigned char *dest, int dest_size, int check_size) {
 
     int src_index = 0;
@@ -567,7 +567,7 @@
 
 static int vqa_decode_frame(AVCodecContext *avctx,
                             void *data, int *data_size,
-                            uint8_t *buf, int buf_size)
+                            const uint8_t *buf, int buf_size)
 {
     VqaContext *s = avctx->priv_data;