Allow smaller PAC files - thx Mike :)

This commit is contained in:
niksedk 2016-01-26 17:38:59 +01:00
parent 230f6a1be9
commit 11bbbab902

View File

@ -1009,7 +1009,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
try
{
var fi = new FileInfo(fileName);
if (fi.Length > 100 && fi.Length < 1024000) // not too small or too big
if (fi.Length > 65 && fi.Length < 1024000) // not too small or too big
{
byte[] buffer = FileUtil.ReadAllBytesShared(fileName);