mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Fixed crash in ts parser - thx Marilson :)
This commit is contained in:
parent
35fe92d3d7
commit
7d481f5f49
@ -100,7 +100,7 @@ namespace Nikse.SubtitleEdit.Logic.TransportStream
|
||||
}
|
||||
}
|
||||
|
||||
if (AdaptationFieldExtensionFlag)
|
||||
if (AdaptationFieldExtensionFlag && index < packetBuffer.Length)
|
||||
{
|
||||
AdaptationFieldExtensionLength = packetBuffer[index];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user