summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2007-12-30 21:24:49 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-12-30 21:24:49 +0000
commit0345fade94e74bc7fc7709d3e7c6a261f853d8ae (patch)
treecf7d65e3b96d894589efc11f7a41fdd0e8b1d32e /libavcodec/ac3dec.c
parent1b70d88b7a547d9e787a1ba7afba7c9113cbbd7a (diff)
do not need to cast a (void *)
Originally committed as revision 11357 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 0c9ca9fb53..deee7d5d9a 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1073,7 +1073,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
*/
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_frame(AVCodecContext * avctx, void *data, int *data_size,
*/
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);