Less strict PAC file check - thx ngaullier :)

This commit is contained in:
Nikolaj Olsson 2021-06-17 19:10:21 +02:00
parent ccd7fdc0ca
commit 990583bff0

View File

@ -1284,7 +1284,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
buffer[20] == 0 &&
//buffer[21] < 10 && // start from number
//buffer[22] == 0 &&
(buffer[23] >= 0x60 && buffer[23] <= 0x70) &&
//(buffer[23] >= 0x60 && buffer[23] <= 0x70) &&
fileName.EndsWith(Extension, StringComparison.OrdinalIgnoreCase))
{
return true;