summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-02-16 06:54:32 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-02-19 13:35:41 +0000
commitbdc3dd4fca4aa628b934e7a0bc5d9d5955cdc2cd (patch)
tree922a45679cbb12ab2467db3cb4224846550be45a /firmware/target/arm
parent8c76c1b1c2a49cdfb111b5f2640d5a55588cc956 (diff)
downloadrockbox-bdc3dd4fca4aa628b934e7a0bc5d9d5955cdc2cd.tar.gz
rockbox-bdc3dd4fca4aa628b934e7a0bc5d9d5955cdc2cd.zip
MP4: append mdat sections together in metadata parser
mp4 files can have multiple 'mdat' chunks. This is common for audiobooks, where there is often a secondary mdat containing the chapter names, but it's also legal to have multiple mdat chunks for a single logical "track" This confuses the mp4 metadata parser, which assumes there is only a single mdat, and always uses the last mdat seen to determine the "filesize" of the data we're trying to decode. Work around this by appending each mdat's size to result in the final "filesize" Change-Id: I3e7a7efb0f05ef965e8d77f79e450c957524a480
Diffstat (limited to 'firmware/target/arm')
0 files changed, 0 insertions, 0 deletions