From 34388f0cb53b62b5f913563e41202c9c1ca8812d Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 11 Apr 2012 17:48:31 +0000 Subject: [PATCH] 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 --- src/Logic/SubtitleFormats/Ebu.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Logic/SubtitleFormats/Ebu.cs b/src/Logic/SubtitleFormats/Ebu.cs index 771e2def5..9f78b1a9a 100644 --- a/src/Logic/SubtitleFormats/Ebu.cs +++ b/src/Logic/SubtitleFormats/Ebu.cs @@ -484,7 +484,8 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats { byte[] buffer = File.ReadAllBytes(fileName); EbuGeneralSubtitleInformation header = ReadHeader(buffer); - if (header.DiskFormatCode.StartsWith("STL25") || + if (header.DiskFormatCode.StartsWith("STL24") || + header.DiskFormatCode.StartsWith("STL25") || header.DiskFormatCode.StartsWith("STL30")) { return Utilities.IsInteger(header.CodePageNumber);