mirror of https://git.ffmpeg.org/ffmpeg.git
aac: Drop pointless cast
This commit is contained in:
parent
8ddfa5ae5e
commit
d316f9cefc
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue