From 1a2c94cb69ebd2c31383552e6b32891977675627 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 03:59:06 +0000 Subject: [PATCH] const Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cavsdec.c | 2 +- libavcodec/cljr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index a9e4cc2b8d..b3849a434d 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -614,7 +614,7 @@ static void cavs_flush(AVCodecContext * avctx) { } static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, - uint8_t * buf, int buf_size) { + const uint8_t * buf, int buf_size) { AVSContext *h = avctx->priv_data; MpegEncContext *s = &h->s; int input_size; diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c index e028d5cfd6..6b76411ac7 100644 --- a/libavcodec/cljr.c +++ b/libavcodec/cljr.c @@ -37,7 +37,7 @@ typedef struct CLJRContext{ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { CLJRContext * const a = avctx->priv_data; AVFrame *picture = data;