From: Kostya Shishkov Date: Sat, 4 Oct 2025 16:23:20 +0000 (+0200) Subject: fix StreamManager::is_ignored() for the default case X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=9716c7cdbdfa44c031714f3d1864f069bd126242;p=nihav.git fix StreamManager::is_ignored() for the default case --- 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 {