From 9716c7cdbdfa44c031714f3d1864f069bd126242 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 4 Oct 2025 18:23:20 +0200 Subject: [PATCH] fix StreamManager::is_ignored() for the default case --- nihav-core/src/demuxers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-core/src/demuxers/mod.rs b/nihav-core/src/demuxers/mod.rs index 12ebdd0..9402c98 100644 --- a/nihav-core/src/demuxers/mod.rs +++ b/nihav-core/src/demuxers/mod.rs @@ -125,7 +125,7 @@ impl StreamManager { /// Reports whether the stream is marked as ignored. pub fn is_ignored(&self, idx: usize) -> bool { if self.no_ign { - true + false } else if idx < self.ignored.len() { self.ignored[idx] } else { -- 2.39.5