From: Kostya Shishkov Date: Sat, 8 Feb 2020 10:26:08 +0000 (+0100) Subject: vp7: reset scan on keyframe X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=9ceb80a2c9827c890a2e5cd49f81fab24634b2f8;p=nihav.git vp7: reset scan on keyframe --- diff --git a/nihav-duck/src/codecs/vp7.rs b/nihav-duck/src/codecs/vp7.rs index ac6ea91..3079fd0 100644 --- a/nihav-duck/src/codecs/vp7.rs +++ b/nihav-duck/src/codecs/vp7.rs @@ -1159,6 +1159,7 @@ impl NADecoder for VP7Decoder { self.set_dimensions(width, height); self.dstate.reset(); + self.scan.copy_from_slice(&DEFAULT_SCAN_ORDER); } else { if !self.shuf.has_refs() { return Err(DecoderError::MissingReference);