# HG changeset patch # User michael # Date 1201836883 0 # Node ID 0ed0d9d578ad68256455d07a490e318762b68410 # Parent a0a64562694066b487c978a438bc32f0f1d03fb7 const diff -r a0a645626940 -r 0ed0d9d578ad mdec.c --- a/mdec.c Fri Feb 01 03:29:43 2008 +0000 +++ b/mdec.c Fri Feb 01 03:34:43 2008 +0000 @@ -158,7 +158,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) { MDECContext * const a = avctx->priv_data; AVFrame *picture = data; diff -r a0a645626940 -r 0ed0d9d578ad mpeg12.c --- a/mpeg12.c Fri Feb 01 03:29:43 2008 +0000 +++ b/mpeg12.c Fri Feb 01 03:34:43 2008 +0000 @@ -2220,7 +2220,7 @@ /* handle buffering and image synchronisation */ static int mpeg_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { Mpeg1Context *s = avctx->priv_data; const uint8_t *buf_end;