]> git.nihav.org Git - nihav.git/commitdiff
mkv: relax cues checking
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 28 Oct 2026 19:28:46 +0000 (20:28 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 28 Oct 2026 19:28:46 +0000 (20:28 +0100)
nihav-commonfmt/src/demuxers/mkv/mod.rs

index cb415c627a18d195b694449f86414612459a3e6e..1ade2a17af9ea0b4579af5c490e0c903d1e4d53a 100644 (file)
@@ -120,7 +120,7 @@ impl<'a> DemuxCore<'a> for MatroskaDemuxer<'a> {
             let mut prev_time = None;
             for cue in new_seg.seek_tab.iter() {
                 if let Some(pval) = prev_time {
-                    validate!(pval < cue.time);
+                    validate!(pval <= cue.time);
                 }
                 prev_time = Some(cue.time);
             }