1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 00:57:15 +03:00

Merge pull request #513 from wader/mp4-decode-hnti-hint

mp4: Decode hint and hnti child boxes
This commit is contained in:
Mattias Wadman 2022-12-08 20:59:20 +01:00 committed by GitHub
commit 3dee9ba099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1605,6 +1605,10 @@ func decodeBox(ctx *decodeContext, d *decode.D, typ string) {
2: 180,
3: 270,
})
case "hnti":
decodeBoxes(ctx, d)
case "hint":
decodeBoxes(ctx, d)
default:
if mb := ctx.currentMetaBox(); mb != nil && ctx.parent().typ == "ilst" {
// unknown type inside a metadata box with ilst as parent, decode item boxes