diff options
-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; |