Skip to content

Backport of "qtdemux: header and sample table parsing fixes" into 1.22

Backport of !8059 (merged) "qtdemux: header and sample table parsing fixes".

Todo:

  • Needs manual intervention, cherry-picking failed!

Commits:

  • ae61a604 qtdemux: Fix integer overflow when allocating the samples table for fragmented MP4
  • cbd659c5 qtdemux: Fix debug output during trun parsing
  • 0f4dae9b qtdemux: Don't iterate over all trun entries if none of the flags are set
  • 5a9e80c0 qtdemux: Check sizes of stsc/stco/stts before trying to merge entries
  • 1d534ac2 qtdemux: Make sure only an even number of bytes is processed when handling CEA608 data
  • c1cd8387 qtdemux: Make sure enough data is available before reading wave header node
  • 98f3934c qtdemux: Fix length checks and offsets in stsd entry parsing
  • 4a0e8bf9 qtdemux: Fix error handling when parsing cenc sample groups fails (only partially relevant/applied)
  • 19359e2b qtdemux: Make sure there are enough offsets to read when parsing samples
  • 7d3f221d qtdemux: Actually handle errors returns from various functions instead of ignoring them
  • bfebca83 qtdemux: Check for invalid atom length when extracting Closed Caption data
  • 519d86d9 qtdemux: Add size check for parsing SMI / SEQH atom
Edited by Tim-Philipp Müller

Merge request reports

Loading