diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 16:13:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 16:13:16 +0000 |
commit | 473dde1700f3939be476b7ebb9fa5e943e291080 (patch) | |
tree | 9f24d7d1c5eb8cb717a0f257d65fea1951ed7939 /libavcodec | |
parent | 94ef6d11ac9c9e67990c11539b36966340c522f7 (diff) | |
download | ffmpeg-473dde1700f3939be476b7ebb9fa5e943e291080.tar.gz |
const
Originally committed as revision 11789 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vqavideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index dbd4550189..8a10909b9a 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -104,7 +104,7 @@ typedef struct VqaContext { DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; uint32_t palette[PALETTE_COUNT]; @@ -202,7 +202,7 @@ static int vqa_decode_init(AVCodecContext *avctx) return; \ } -static void decode_format80(unsigned char *src, int src_size, +static void decode_format80(const unsigned char *src, int src_size, unsigned char *dest, int dest_size, int check_size) { int src_index = 0; @@ -567,7 +567,7 @@ static void vqa_decode_chunk(VqaContext *s) static int vqa_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { VqaContext *s = avctx->priv_data; |