mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 06:15:24 +00:00
0ee5ef592d
MP4 DASH files can contain more than one copy of the "moov"
atom. Parsing it multiple times would mean that tracks, chunk offset
tables, sample to chunk tables etc. would be filled multiple times as
well.
Commit 2b5e8c86a6
made this easier to
trigger, though the problem could have been hit with earlier code,
too. Before that commit header parsing stopped as soon as the first
"moov" and "mdat" atoms were found. Multiple "moov" atoms before the
first "mdat" atom would therefore have triggered the bug, but I'm not
aware of that having ever happened.
Fixes #1877.
6 lines
155 B
Ruby
Executable File
6 lines
155 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_581mp4_multiple_moov_atoms
|
|
describe "mkvmerge / MP4 DASH with multiple 'moov' atoms"
|
|
test_merge "data/mp4/multiple_moov_atoms.mp4"
|