Wrong test for OGM header packets.

This commit is contained in:
Moritz Bunkus 2004-06-04 19:29:19 +00:00
parent 81c316332a
commit 9403ab3134
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-04 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: The OGM fix in 0.9.0 broke handling for
non-broken OGM files a bit.
2004-06-03 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: new feature: Added support for the audio/video

View File

@ -1036,7 +1036,7 @@ ogm_reader_c::process_header_packets(ogm_demuxer_t *dmx) {
while (ogg_stream_packetout(&dmx->os, &op) == 1) {
if (((dmx->stype != OGM_STREAM_TYPE_VORBIS) || !dmx->native_mode) &&
((op.packet[0] & PACKET_TYPE_BITS) != 1)) {
((op.packet[0] & 1) != 1)) {
mxwarn("ogm_reader: Missing header/comment packets for stream %d in "
"'%s'. This file is broken but should be muxed correctly. If "
"not please contact the author Moritz Bunkus "