From: Kostya Shishkov Date: Sat, 27 Jul 2024 13:19:30 +0000 (+0200) Subject: vx demuxer: support stereo sound X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=052916931074c25049cd329468f391da371ea7e5;p=nihav.git vx demuxer: support stereo sound --- diff --git a/nihav-game/src/demuxers/vx.rs b/nihav-game/src/demuxers/vx.rs index d201321..ac6b3e9 100644 --- a/nihav-game/src/demuxers/vx.rs +++ b/nihav-game/src/demuxers/vx.rs @@ -40,7 +40,7 @@ impl<'a> DemuxCore<'a> for VXDemuxer<'a> { let vinfo_off = src.read_u32le()? as u64; validate!(vinfo_off == 0 || vinfo_off >= 0x30); let num_vstreams = src.read_u32le()? as usize; - if num_vstreams != 1 || num_audio_tracks > 1 { + if num_vstreams != 1 || num_audio_tracks > 2 { return Err(DemuxerError::NotImplemented); }