mirror of
https://github.com/wader/fq.git
synced 2024-11-27 06:04:47 +03:00
mp4: Add comment about future truncate to size option
This commit is contained in:
parent
40e26e851e
commit
9ac17bd0e3
@ -95,6 +95,11 @@ func decodeBox(ctx *decodeContext, d *decode.D) {
|
||||
dataSize = boxSize - 8
|
||||
}
|
||||
|
||||
// TODO: add truncate to size option?
|
||||
// if dataSize > uint64(d.BitsLeft()/8) {
|
||||
// dataSize = uint64(d.BitsLeft() / 8)
|
||||
// }
|
||||
|
||||
// TODO: not sure about this
|
||||
switch {
|
||||
case typ == "\xa9too":
|
||||
|
Loading…
Reference in New Issue
Block a user