1
1
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:
Mattias Wadman 2021-09-14 14:34:52 +02:00
parent 40e26e851e
commit 9ac17bd0e3

View File

@ -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":