[FFmpeg-cvslog] r11789 - trunk/libavcodec/vqavideo.c

michael subversion
Fri Feb 1 17:13:17 CET 2008


Author: michael
Date: Fri Feb  1 17:13:16 2008
New Revision: 11789

Log:
const


Modified:
   trunk/libavcodec/vqavideo.c

Modified: trunk/libavcodec/vqavideo.c
==============================================================================
--- trunk/libavcodec/vqavideo.c	(original)
+++ trunk/libavcodec/vqavideo.c	Fri Feb  1 17:13:16 2008
@@ -104,7 +104,7 @@ typedef struct VqaContext {
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
     uint32_t palette[PALETTE_COUNT];
@@ -202,7 +202,7 @@ static int vqa_decode_init(AVCodecContex
         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 void vqa_decode_chunk(VqaContext 
 
 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;
 




More information about the ffmpeg-cvslog mailing list