mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fix crash in teletext parsing - thx xylographe :)
This commit is contained in:
parent
46d7883712
commit
2b77d7ed6a
@ -161,6 +161,11 @@ namespace Nikse.SubtitleEdit.Core.TransportStream
|
||||
|
||||
foreach (var packetId in teletextPesList.Keys) // teletext from PES packets
|
||||
{
|
||||
if (!teletextPages.ContainsKey(packetId))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach (var page in teletextPages[packetId].OrderBy(p => p))
|
||||
{
|
||||
var pageBcd = Teletext.DecToBec(page);
|
||||
|
Loading…
Reference in New Issue
Block a user