Commit 99329044 authored by jbr's avatar jbr

make input buffer const, as it should be. fixes a warning.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12418 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8664dae4
......@@ -1125,7 +1125,8 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
/**
* 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment