Skip all unknown atoms, not only the "known" unknown ones.

This commit is contained in:
Moritz Bunkus 2005-08-13 10:50:11 +00:00
parent 6b29e4298f
commit f896ed4685
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2005-08-13 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: The Quicktime/MP4 reader wasn't skipping
unknown elements correctly.
2005-08-03 Moritz Bunkus <moritz@bunkus.org>
* mkvextract: new feature: Added a new extraction mode for

View File

@ -172,15 +172,9 @@ qtmp4_reader_c::parse_headers() {
mdat_size = atom.size;
skip_atom();
} else if ((atom.fourcc == FOURCC('f', 'r', 'e', 'e')) ||
(atom.fourcc == FOURCC('s', 'k', 'i', 'p')) ||
(atom.fourcc == FOURCC('j', 'u', 'n', 'k')) ||
(atom.fourcc == FOURCC('p', 'n', 'o', 't')) ||
(atom.fourcc == FOURCC('P', 'I', 'C', 'T'))) {
} else
skip_atom();
}
} while (!io->eof() && (!headers_parsed || (mdat_pos == -1)));
if (!headers_parsed)