From f61bf0526b27509c44e5dae5e7ddd82a6d7515c5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 14:06:54 +0000 Subject: [PATCH] const Originally committed as revision 11739 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rpza.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index 22b184e372..ea36393aa2 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -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;