]> git.nihav.org Git - nihav.git/commitdiff
vp6: set correct interlaced state in inter frame headers
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 2 Feb 2020 09:36:22 +0000 (10:36 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 2 Feb 2020 09:36:22 +0000 (10:36 +0100)
nihav-duck/src/codecs/vp6.rs

index 4bbe61fbe7031058cebabec741089fda7bd3b479..9d72d1f21572984816dbb5d8755365d6433e3cda 100644 (file)
@@ -51,6 +51,7 @@ impl VP56Parser for VP6BR {
         } else {
             hdr.version = self.vpversion;
             hdr.profile = self.profile;
+            hdr.interlaced = self.interlaced;
         }
         if hdr.multistream || (hdr.profile == VP6_SIMPLE_PROFILE) {
             hdr.offset                          = br.read(16)? as u16;