Allow for smaller .890 files

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@801 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2011-11-07 21:56:02 +00:00
parent c734ae8660
commit 18e469891d
2 changed files with 1 additions and 2 deletions

View File

@ -193,7 +193,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
if (!string.IsNullOrEmpty(fileName) && File.Exists(fileName))
{
FileInfo fi = new FileInfo(fileName);
if (fi.Length > 1024 && fi.Length < 1024000) // not too small or too big
if (fi.Length >= 640 && fi.Length < 1024000) // not too small or too big
{
if (fileName.EndsWith(".890"))
{

View File

@ -597,7 +597,6 @@
<Compile Include="Logic\SubtitleFormats\PinnacleImpression.cs" />
<Compile Include="Logic\SubtitleFormats\QuickTimeText.cs" />
<Compile Include="Logic\SubtitleFormats\RealTime.cs" />
<Compile Include="Logic\SubtitleFormats\Scantitling890.cs" />
<Compile Include="Logic\SubtitleFormats\Scenarist.cs" />
<Compile Include="Logic\SubtitleFormats\ScenaristClosedCaptions.cs" />
<Compile Include="Logic\SubtitleFormats\Son.cs" />