[FFmpeg-cvslog] r11820 - trunk/libavcodec/qtrle.c

reimar subversion
Sat Feb 2 23:09:08 CET 2008


Author: reimar
Date: Sat Feb  2 23:09:07 2008
New Revision: 11820

Log:
mark qtrle input data as const.


Modified:
   trunk/libavcodec/qtrle.c

Modified: trunk/libavcodec/qtrle.c
==============================================================================
--- trunk/libavcodec/qtrle.c	(original)
+++ trunk/libavcodec/qtrle.c	Sat Feb  2 23:09:07 2008
@@ -45,7 +45,7 @@ typedef struct QtrleContext {
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
 } QtrleContext;
@@ -530,7 +530,7 @@ static int qtrle_decode_init(AVCodecCont
 
 static int qtrle_decode_frame(AVCodecContext *avctx,
                               void *data, int *data_size,
-                              uint8_t *buf, int buf_size)
+                              const uint8_t *buf, int buf_size)
 {
     QtrleContext *s = avctx->priv_data;
 




More information about the ffmpeg-cvslog mailing list