mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
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));
|
||||
if (!ctx->model_priv_data)
|
||||
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;
|
||||
|
||||
if (ctx->avctx->flags & AV_CODEC_FLAG_QSCALE) {
|
||||
|
Loading…
Reference in New Issue
Block a user