Module: libav Branch: master Commit: d316f9cefcd854071985c6f524a9a15348240264
Author: Diego Biurrun <[email protected]> Committer: Diego Biurrun <[email protected]> Date: Sun Mar 15 15:56:52 2015 +0100 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 6cfae6b..272be9f 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
