# HG changeset patch # User jbr # Date 1205186370 0 # Node ID 8f1b27d73a0700ea0e28a9a76fec9b0e2449fa05 # Parent 3f96dc62c4b94187fc8a80e8c0f677a82295a97d make input buffer const, as it should be. fixes a warning. diff -r 3f96dc62c4b9 -r 8f1b27d73a07 ac3dec.c --- 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;