diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:59:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 03:59:06 +0000 |
commit | 1a2c94cb69ebd2c31383552e6b32891977675627 (patch) | |
tree | 7fe1e76e3f47bbd1e16de04ea3c897d73165996e /libavcodec | |
parent | 8687f7679dafcc684edaf69297b6139855ed0632 (diff) | |
download | ffmpeg-1a2c94cb69ebd2c31383552e6b32891977675627.tar.gz |
const
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cavsdec.c | 2 | ||||
-rw-r--r-- | 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; |