From 052916931074c25049cd329468f391da371ea7e5 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 27 Jul 2024 15:19:30 +0200 Subject: [PATCH] vx demuxer: support stereo sound --- nihav-game/src/demuxers/vx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5