diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 14:06:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 14:06:54 +0000 |
commit | f61bf0526b27509c44e5dae5e7ddd82a6d7515c5 (patch) | |
tree | ddeef8916812b575224ea775c43d5a9157dacc14 /libavcodec/rpza.c | |
parent | da2036c54ef26fb54eb2760be92f767170c9b17f (diff) | |
download | ffmpeg-f61bf0526b27509c44e5dae5e7ddd82a6d7515c5.tar.gz |
const
Originally committed as revision 11739 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rpza.c')
-rw-r--r-- | libavcodec/rpza.c | 4 |
1 files 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; |