Author: jbr Date: Sun Dec 30 23:22:43 2007 New Revision: 1719 Log: do not need to cast a (void *) Modified: eac3/ac3dec.c Modified: eac3/ac3dec.c ============================================================================== --- eac3/ac3dec.c (original) +++ eac3/ac3dec.c Sun Dec 30 23:22:43 2007 @@ -976,7 +976,7 @@ static int ac3_parse_audio_block(AC3Deco */ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t *buf, int buf_size) { - AC3DecodeContext *s = (AC3DecodeContext *)avctx->priv_data; + AC3DecodeContext *s = avctx->priv_data; int16_t *out_samples = (int16_t *)data; int i, blk, ch, err; @@ -1044,7 +1044,7 @@ static int ac3_decode_frame(AVCodecConte */ static int ac3_decode_end(AVCodecContext *avctx) { - AC3DecodeContext *s = (AC3DecodeContext *)avctx->priv_data; + AC3DecodeContext *s = avctx->priv_data; ff_mdct_end(&s->imdct_512); ff_mdct_end(&s->imdct_256);
participants (1)
-
jbr