aac: Drop pointless cast

This commit is contained in:
Diego Biurrun 2015-03-15 15:56:52 +01:00
parent 8ddfa5ae5e
commit d316f9cefc
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) {
ctx->model_priv_data = av_mallocz(sizeof(AacPsyContext)); ctx->model_priv_data = av_mallocz(sizeof(AacPsyContext));
if (!ctx->model_priv_data) if (!ctx->model_priv_data)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
pctx = (AacPsyContext*) ctx->model_priv_data; pctx = ctx->model_priv_data;
pctx->chan_bitrate = chan_bitrate; pctx->chan_bitrate = chan_bitrate;
pctx->frame_bits = chan_bitrate * AAC_BLOCK_SIZE_LONG / ctx->avctx->sample_rate; pctx->frame_bits = chan_bitrate * AAC_BLOCK_SIZE_LONG / ctx->avctx->sample_rate;