Mercurial > libavcodec.hg
changeset 6092:42bdc549a500 libavcodec
do not need to cast a (void *)
author | jbr |
---|---|
date | Sun, 30 Dec 2007 21:24:49 +0000 |
parents | c365f7b83133 |
children | 5562b898db5b |
files | ac3dec.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Sun Dec 30 21:09:08 2007 +0000 +++ b/ac3dec.c Sun Dec 30 21:24:49 2007 +0000 @@ -1073,7 +1073,7 @@ */ 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; @@ -1141,7 +1141,7 @@ */ 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);