changeset 6248:8705a4d4904f libavcodec

const
author michael
date Fri, 01 Feb 2008 14:06:54 +0000
parents aa954496a445
children f9d2ca73e3b6
files rpza.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rpza.c	Fri Feb 01 14:03:56 2008 +0000
+++ b/rpza.c	Fri Feb 01 14:06:54 2008 +0000
@@ -48,7 +48,7 @@
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
 } RpzaContext;
@@ -243,7 +243,7 @@
 
 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;