Allow up to 10 mb subtitles in batch convert - thx Kymophobia :)

This commit is contained in:
Nikolaj Olsson 2015-09-29 07:33:46 +02:00
parent 160b387cf8
commit b67fd3ae6d

View File

@ -251,7 +251,7 @@ namespace Nikse.SubtitleEdit.Forms
SubtitleFormat format = null;
var sub = new Subtitle();
if (fi.Length < 1024 * 1024) // max 1 mb
if (fi.Length < 1024 * 1024 * 10) // max 10 mb
{
Encoding encoding;
format = sub.LoadSubtitle(fileName, out encoding, null);