1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

aac: Drop pointless cast

This commit is contained in:
Diego Biurrun 2015-03-15 15:56:52 +01:00
parent 8ddfa5ae5e
commit d316f9cefc

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;