mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Allow up to 2 mb ebu stl sub files
This commit is contained in:
parent
0f218961bb
commit
7c4a61a152
@ -803,7 +803,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
|||||||
if (!string.IsNullOrEmpty(fileName) && File.Exists(fileName))
|
if (!string.IsNullOrEmpty(fileName) && File.Exists(fileName))
|
||||||
{
|
{
|
||||||
var fi = new FileInfo(fileName);
|
var fi = new FileInfo(fileName);
|
||||||
if (fi.Length >= 1024 + 128 && fi.Length < 1024000) // not too small or too big
|
if (fi.Length >= 1024 + 128 && fi.Length < 2048000) // not too small or too big
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user