mirror of
https://github.com/wader/fq.git
synced 2024-12-23 05:13:30 +03:00
mp4: Add comment about hdlr.component_name prefix byte
This commit is contained in:
parent
c2131bb4a0
commit
406263b485
@ -290,6 +290,7 @@ func init() {
|
|||||||
d.FieldUTF8NullFixedLen("component_manufacturer", 4)
|
d.FieldUTF8NullFixedLen("component_manufacturer", 4)
|
||||||
d.FieldU32("component_flags")
|
d.FieldU32("component_flags")
|
||||||
d.FieldU32("component_flags_mask")
|
d.FieldU32("component_flags_mask")
|
||||||
|
// TODO: sometimes has a length prefix byte, how to know?
|
||||||
d.FieldUTF8NullFixedLen("component_name", int(d.BitsLeft()/8))
|
d.FieldUTF8NullFixedLen("component_name", int(d.BitsLeft()/8))
|
||||||
|
|
||||||
if ctx.currentTrack != nil {
|
if ctx.currentTrack != nil {
|
||||||
@ -300,7 +301,6 @@ func init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"minf": decodeBoxes,
|
"minf": decodeBoxes,
|
||||||
"dinf": decodeBoxes,
|
"dinf": decodeBoxes,
|
||||||
"dref": func(_ *decodeContext, d *decode.D) {
|
"dref": func(_ *decodeContext, d *decode.D) {
|
||||||
|
Loading…
Reference in New Issue
Block a user