Skip to content

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

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

Commits:

  • 163481db qtdemux: Fix integer overflow when allocating the samples table for fragmented MP4
  • 88092368 qtdemux: Fix debug output during trun parsing
  • 450900ea qtdemux: Don't iterate over all trun entries if none of the flags are set
  • e1b36dd5 qtdemux: Check sizes of stsc/stco/stts before trying to merge entries
  • aa60aecb qtdemux: Make sure only an even number of bytes is processed when handling CEA608 data
  • 0406d487 qtdemux: Make sure enough data is available before reading wave header node
  • ef2b1936 qtdemux: Fix length checks and offsets in stsd entry parsing
  • 8f249af3 qtdemux: Fix error handling when parsing cenc sample groups fails
  • fa7a8a77 qtdemux: Make sure there are enough offsets to read when parsing samples
  • 92ad83a3 qtdemux: Actually handle errors returns from various functions instead of ignoring them
  • e808e08a qtdemux: Check for invalid atom length when extracting Closed Caption data
  • e95ae9af qtdemux: Add size check for parsing SMI / SEQH atom

Merge request reports

Loading