vaapi_encode_vp9: Fix whitespace after previous patch

This commit is contained in:
Mark Thompson 2019-02-10 19:47:00 +00:00
parent 28e619e268
commit c4c2c4df76
1 changed files with 15 additions and 15 deletions

View File

@ -184,15 +184,15 @@ static av_cold int vaapi_encode_vp9_configure(AVCodecContext *avctx)
if (ctx->rc_mode->quality) {
priv->q_idx_p = av_clip(ctx->rc_quality, 0, VP9_MAX_QUANT);
if (avctx->i_quant_factor > 0.0)
priv->q_idx_idr = av_clip((priv->q_idx_p *
avctx->i_quant_factor +
priv->q_idx_idr =
av_clip((avctx->i_quant_factor * priv->q_idx_p +
avctx->i_quant_offset) + 0.5,
0, VP9_MAX_QUANT);
else
priv->q_idx_idr = priv->q_idx_p;
if (avctx->b_quant_factor > 0.0)
priv->q_idx_b = av_clip((priv->q_idx_p *
avctx->b_quant_factor +
priv->q_idx_b =
av_clip((avctx->b_quant_factor * priv->q_idx_p +
avctx->b_quant_offset) + 0.5,
0, VP9_MAX_QUANT);
else