From: Kostya Shishkov Date: Fri, 17 Sep 2021 14:38:26 +0000 (+0200) Subject: vp6: mark simple profile as multistream X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=44a1af4bd70e6d27e5e28f9758109dbca4fbcbbd;p=nihav.git vp6: mark simple profile as multistream --- diff --git a/nihav-duck/src/codecs/vp6.rs b/nihav-duck/src/codecs/vp6.rs index 20491ed..b69930c 100644 --- a/nihav-duck/src/codecs/vp6.rs +++ b/nihav-duck/src/codecs/vp6.rs @@ -51,6 +51,7 @@ impl VP56Parser for VP6BR { if hdr.multistream || (hdr.profile == VP6_SIMPLE_PROFILE) { hdr.offset = br.read(16)? as u16; validate!(hdr.offset > if hdr.is_intra { 6 } else { 2 }); + hdr.multistream = true; } let bytes = br.tell() >> 3; std::mem::drop(br);