]> git.nihav.org Git - nihav.git/commitdiff
aac: clear M/S flags
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 7 May 2024 16:13:19 +0000 (18:13 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 7 May 2024 16:13:19 +0000 (18:13 +0200)
nihav-mpeg/src/codecs/aac/mod.rs

index 655b45ba5d9823597362d84a304742cbc85fd9a5..e37e812357489f9d39a7eca502e8d32de7909aa0 100644 (file)
@@ -330,6 +330,8 @@ impl ChannelPair {
                         self.ms_used[g][sfb]            = br.read_bool()?;
                     }
                 }
+            } else {
+                self.ms_used = [[false; MAX_SFBS]; MAX_WINDOWS];
             }
             self.ics[1].info = self.ics[0].info;
         }