Skip to content

Commit

Permalink
解析init时跳过不完整数据
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Jun 28, 2023
1 parent ae771d2 commit e55dd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/N_m3u8DL-RE.Parser/Mp4/MP4InitUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static ParsedMP4Info ReadInit(byte[] data)
.FullBox("enca", MP4Parser.AllData(data => ReadBox(data, info)))
.FullBox("enct", MP4Parser.AllData(data => ReadBox(data, info)))
.FullBox("encs", MP4Parser.AllData(data => ReadBox(data, info)))
.Parse(data);
.Parse(data, stopOnPartial: true);

return info;
}
Expand Down

0 comments on commit e55dd5a

Please sign in to comment.