mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'd316f9cefcd854071985c6f524a9a15348240264'
* commit 'd316f9cefcd854071985c6f524a9a15348240264': aac: Drop pointless cast Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
fc2a94219d
|
@ -311,7 +311,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->global_quality = (ctx->avctx->global_quality ? ctx->avctx->global_quality : 120) * 0.01f;
|
pctx->global_quality = (ctx->avctx->global_quality ? ctx->avctx->global_quality : 120) * 0.01f;
|
||||||
|
|
||||||
if (ctx->avctx->flags & AV_CODEC_FLAG_QSCALE) {
|
if (ctx->avctx->flags & AV_CODEC_FLAG_QSCALE) {
|
||||||
|
|
Loading…
Reference in New Issue