]> git.nihav.org Git - nihav.git/commitdiff
vp6: mark simple profile as multistream
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 17 Sep 2021 14:38:26 +0000 (16:38 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 22 Sep 2021 16:43:33 +0000 (18:43 +0200)
nihav-duck/src/codecs/vp6.rs

index 20491ed6445c66ac4a7768ebd6923b2c3ae7956e..b69930c8517920e0b11bb7558d9e11ecad09929b 100644 (file)
@@ -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);