Mercurial > libavcodec.hg
changeset 6220:0ed0d9d578ad libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:34:43 +0000 |
parents | a0a645626940 |
children | b42a510e0939 |
files | mdec.c mpeg12.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;