comparison 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
comparison
equal deleted inserted replaced
6486:3f96dc62c4b9 6487:8f1b27d73a07
1123 } 1123 }
1124 1124
1125 /** 1125 /**
1126 * Decode a single AC-3 frame. 1126 * Decode a single AC-3 frame.
1127 */ 1127 */
1128 static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t *buf, int buf_size) 1128 static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
1129 const uint8_t *buf, int buf_size)
1129 { 1130 {
1130 AC3DecodeContext *s = avctx->priv_data; 1131 AC3DecodeContext *s = avctx->priv_data;
1131 int16_t *out_samples = (int16_t *)data; 1132 int16_t *out_samples = (int16_t *)data;
1132 int i, blk, ch, err; 1133 int i, blk, ch, err;
1133 1134