avcodec/rv60: align calc_sel_qp with reference decoder

Fixes ticket #11290.
This commit is contained in:
Peter Ross 2024-11-07 15:21:55 +11:00
parent c8c6319ce1
commit 006718c475
1 changed files with 1 additions and 1 deletions

View File

@ -2237,7 +2237,7 @@ static int calc_sel_qp(int osvquant, int qp)
{
switch (osvquant) {
case 0: return qp;
case 1: return qp < 25 ? qp + 5 : qp;
case 1: return qp <= 25 ? qp + 5 : qp;
default:
if (qp <= 18)
return qp + 10;