Mercurial > libavcodec.hg
diff ac3dec.c @ 6487:8f1b27d73a07 libavcodec
make input buffer const, as it should be. fixes a warning.
author | jbr |
---|---|
date | Mon, 10 Mar 2008 21:59:30 +0000 |
parents | 6f01a499e785 |
children | 48759bfbd073 |
line wrap: on
line diff
--- a/ac3dec.c Mon Mar 10 18:42:09 2008 +0000 +++ b/ac3dec.c Mon Mar 10 21:59:30 2008 +0000 @@ -1125,7 +1125,8 @@ /** * Decode a single AC-3 frame. */ -static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t *buf, int buf_size) +static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, + const uint8_t *buf, int buf_size) { AC3DecodeContext *s = avctx->priv_data; int16_t *out_samples = (int16_t *)data;