From d316f9cefcd854071985c6f524a9a15348240264 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 15 Mar 2015 15:56:52 +0100 Subject: [PATCH] aac: Drop pointless cast --- libavcodec/aacpsy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index 6cfae6bdbd..272be9f137 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -300,7 +300,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) { ctx->model_priv_data = av_mallocz(sizeof(AacPsyContext)); if (!ctx->model_priv_data) return AVERROR(ENOMEM); - pctx = (AacPsyContext*) ctx->model_priv_data; + pctx = ctx->model_priv_data; pctx->chan_bitrate = chan_bitrate; pctx->frame_bits = chan_bitrate * AAC_BLOCK_SIZE_LONG / ctx->avctx->sample_rate;