vp6: mark simple profile as multistream
[nihav.git] / 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);