# HG changeset patch # User michael # Date 1201838346 0 # Node ID 042a48b6de72b6b02def5bae6faa8258cc99f463 # Parent d155d4915e1cbcd6109f6eb7f3fe521164ecea01 const diff -r d155d4915e1c -r 042a48b6de72 cavsdec.c --- a/cavsdec.c Fri Feb 01 03:54:08 2008 +0000 +++ b/cavsdec.c Fri Feb 01 03:59:06 2008 +0000 @@ -614,7 +614,7 @@ } 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 -r d155d4915e1c -r 042a48b6de72 cljr.c --- a/cljr.c Fri Feb 01 03:54:08 2008 +0000 +++ b/cljr.c Fri Feb 01 03:59:06 2008 +0000 @@ -37,7 +37,7 @@ 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;