OSDN Git Service

const
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:06:54 +0000 (14:06 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:06:54 +0000 (14:06 +0000)
Originally committed as revision 11739 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rpza.c

index 22b184e..ea36393 100644 (file)
@@ -48,7 +48,7 @@ typedef struct RpzaContext {
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
 } RpzaContext;
@@ -243,7 +243,7 @@ static int rpza_decode_init(AVCodecContext *avctx)
 
 static int rpza_decode_frame(AVCodecContext *avctx,
                              void *data, int *data_size,
-                             uint8_t *buf, int buf_size)
+                             const uint8_t *buf, int buf_size)
 {
     RpzaContext *s = avctx->priv_data;