修复KID寻找异常问题 Fix #529

This commit is contained in:
nilaoda 2024-12-01 12:17:56 +08:00
parent 800ce3d615
commit a8646eb7e7
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ namespace Mp4SubtitleParser
// if (info.Scheme != "cenc") return; // if (info.Scheme != "cenc") return;
// find KID // find KID
byte[] tencBytes = [0x74, 0x65, 0x6E, 0x6]; byte[] tencBytes = [0x74, 0x65, 0x6E, 0x63];
var tencIndex = -1; var tencIndex = -1;
for (int i = 0; i < data.Length - 4; i++) for (int i = 0; i < data.Length - 4; i++)
{ {