From f84129ed62be62e762f11202e8c78530a46be999 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 23 Mar 2020 19:07:17 +0100 Subject: [PATCH] realmedia/rv40dsp: fix strong deblock filter clipping --- nihav-realmedia/src/codecs/rv40dsp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-realmedia/src/codecs/rv40dsp.rs b/nihav-realmedia/src/codecs/rv40dsp.rs index dce273a..403208e 100644 --- a/nihav-realmedia/src/codecs/rv40dsp.rs +++ b/nihav-realmedia/src/codecs/rv40dsp.rs @@ -380,7 +380,7 @@ fn sfilter(a: i16, b: i16, c: i16, d: i16, e: i16, dither: i16, clip: bool, lims } else if val > c + lims { c + lims } else { - c + val } } else { val -- 2.39.5