From: Kostya Shishkov Date: Sat, 11 Oct 2025 12:28:37 +0000 (+0200) Subject: aac: 1-8 channels in LC are fine X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=b5b4af8293f9bd420879dfe6d5057d534f75562f;p=nihav.git aac: 1-8 channels in LC are fine --- diff --git a/nihav-mpeg/src/codecs/aac/mod.rs b/nihav-mpeg/src/codecs/aac/mod.rs index 0dd7a89..e65686a 100644 --- a/nihav-mpeg/src/codecs/aac/mod.rs +++ b/nihav-mpeg/src/codecs/aac/mod.rs @@ -742,7 +742,7 @@ impl NADecoder for AACDecoder { } //println!("{}", self.m4ainfo); - if (self.m4ainfo.otype != M4AType::LC) || (self.m4ainfo.channels > 2) || (self.m4ainfo.samples != 1024) { + if (self.m4ainfo.otype != M4AType::LC) || (self.m4ainfo.channels > 8) || (self.m4ainfo.samples != 1024) { return Err(DecoderError::NotImplemented); } self.sbinfo = GASubbandInfo::find(self.m4ainfo.srate);