mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
Size the reduced stco lookup with ceiling division. The table stores chunk entries 0, divider, 2 * divider, and so on, so floor division allocated one entry too few whenever the original count had a remainder. Treat a valid media-information atom whose first child is not smhd as a non-audio track and skip the remainder. Continue scanning subsequent tracks so AAC decoding works when an MP4 places its video track before the audio track, while still rejecting malformed atom sizes and malformed sound headers. Keep these container fixes independent of the H.264 player and target driver so they can be reviewed and applied to libm4a on their own. Build-tested as part of the normal and isolated-runtime iPod 6G configurations and hardware-tested with AAC audio in M4V playback. Change-Id: I8c711525932f54ecbdad982c7f7ddc9490c5668d |
||
|---|---|---|
| .. | ||
| demux.c | ||
| libm4a.make | ||
| m4a.c | ||
| m4a.h | ||
| SOURCES | ||