mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
EBU now also accepts STL24 (besides STL25/STL30) - Thx Axel :)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1114 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
11b9f74d72
commit
34388f0cb5
@ -484,7 +484,8 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
|||||||
{
|
{
|
||||||
byte[] buffer = File.ReadAllBytes(fileName);
|
byte[] buffer = File.ReadAllBytes(fileName);
|
||||||
EbuGeneralSubtitleInformation header = ReadHeader(buffer);
|
EbuGeneralSubtitleInformation header = ReadHeader(buffer);
|
||||||
if (header.DiskFormatCode.StartsWith("STL25") ||
|
if (header.DiskFormatCode.StartsWith("STL24") ||
|
||||||
|
header.DiskFormatCode.StartsWith("STL25") ||
|
||||||
header.DiskFormatCode.StartsWith("STL30"))
|
header.DiskFormatCode.StartsWith("STL30"))
|
||||||
{
|
{
|
||||||
return Utilities.IsInteger(header.CodePageNumber);
|
return Utilities.IsInteger(header.CodePageNumber);
|
||||||
|
Loading…
Reference in New Issue
Block a user