From: Diego Biurrun Date: Sun, 15 Mar 2015 14:56:52 +0000 (+0100) Subject: aac: Drop pointless cast X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=d316f9cefcd854071985c6f524a9a15348240264;p=ffmpeg aac: Drop pointless cast --- diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index 6cfae6bdbd9..272be9f1371 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;