Fixes ticket #11290. --- libavcodec/rv60dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/rv60dec.c b/libavcodec/rv60dec.c
index 0ce346fefb..96f121197a 100644
--- a/libavcodec/rv60dec.c
+++ b/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;
--
2.45.2
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
