From bc8c4c0cb5263dc6b633f37a926a1bcd81818624 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Wed, 1 May 2024 16:38:25 +0200 Subject: [PATCH] Allow empty time codes for format "Unknown 66" - thx darnn :) Fix #8288 --- src/libse/SubtitleFormats/UnknownSubtitle66.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/libse/SubtitleFormats/UnknownSubtitle66.cs b/src/libse/SubtitleFormats/UnknownSubtitle66.cs index ff908c421..7ac204349 100644 --- a/src/libse/SubtitleFormats/UnknownSubtitle66.cs +++ b/src/libse/SubtitleFormats/UnknownSubtitle66.cs @@ -84,14 +84,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats } else if (string.IsNullOrWhiteSpace(line)) { - if (Math.Abs(p.StartTime.TotalMilliseconds) < 0.001 && Math.Abs(p.EndTime.TotalMilliseconds) < 0.001) - { - _errorCount++; - } - else - { - subtitle.Paragraphs.Add(p); - } + subtitle.Paragraphs.Add(p); p = new Paragraph(); }