mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Allow empty time codes for format "Unknown 66" - thx darnn :)
Fix #8288
This commit is contained in:
parent
c31518adc3
commit
bc8c4c0cb5
@ -83,15 +83,8 @@ 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);
|
||||
}
|
||||
|
||||
p = new Paragraph();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user