From d6402b85e64a0d466862eb6abb48ae0eef1cef3a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 24 Mar 2020 12:46:36 +0100 Subject: [PATCH] realmedia/rv3040: update DC quant for inter macroblocks too --- nihav-realmedia/src/codecs/rv3040.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nihav-realmedia/src/codecs/rv3040.rs b/nihav-realmedia/src/codecs/rv3040.rs index e24b8af..8da291b 100644 --- a/nihav-realmedia/src/codecs/rv3040.rs +++ b/nihav-realmedia/src/codecs/rv3040.rs @@ -1255,6 +1255,7 @@ impl RV34Decoder { sstate.q_dc = bd.quant_dc(true, q); self.decode_mb_intra(&sstate, &imode, &mut buf, &mut br, is_16)?; } else { + sstate.q_dc = bd.quant_dc(false, q); imode.fill_block(0); self.decode_mb_inter(&sstate, &mbh, &mut buf, &mut br, is_16)?; } -- 2.39.5