avcodec/rv60: align calc_sel_qp with reference decoder

Fixes ticket #11290.
master
Peter Ross 1 week ago
parent c8c6319ce1
commit 006718c475
  1. 2
      libavcodec/rv60dec.c

@ -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;

Loading…
Cancel
Save