From: Kostya Shishkov Date: Mon, 23 Mar 2020 18:07:17 +0000 (+0100) Subject: realmedia/rv40dsp: fix strong deblock filter clipping X-Git-Url: https://git.nihav.org/?p=nihav.git;a=commitdiff_plain;h=f84129ed62be62e762f11202e8c78530a46be999 realmedia/rv40dsp: fix strong deblock filter clipping --- 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