Ignore RM tracks with unknown MIME types.

This commit is contained in:
Moritz Bunkus 2004-04-11 09:44:35 +00:00
parent b24c4fab9e
commit 7c3415bef0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-04-11 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Fixed the handling of RealMedia files with
'multirate' tracks (again).
2004-04-09 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: On some rare occasions chapters were not

View File

@ -147,8 +147,8 @@ real_reader_c::parse_headers() {
!demuxing_requested('a', track->id))
continue;
if ((track->mdpr_header.mime_type == NULL) ||
(!strcmp(track->mdpr_header.mime_type, "audio/x-pn-realaudio") &&
!strcmp(track->mdpr_header.mime_type, "video/x-pn-realvideo")))
(strcmp(track->mdpr_header.mime_type, "audio/x-pn-realaudio") &&
strcmp(track->mdpr_header.mime_type, "video/x-pn-realvideo")))
continue;
ts_data = track->mdpr_header.type_specific_data;