comparison libmpdemux/demux_mkv.cpp @ 10098:ebbe39bb55ab

Check with the wrong variable.
author mosu
date Sun, 11 May 2003 19:11:10 +0000
parents 04dacb55d55d
children 71d703e35ff3
comparison
equal deleted inserted replaced
10097:f327d76a7b6f 10098:ebbe39bb55ab
440 if (t->a_channels == 0) 440 if (t->a_channels == 0)
441 t->a_channels = u; 441 t->a_channels = u;
442 } 442 }
443 443
444 u = get_uint16(&wfe->wBitsPerSample); 444 u = get_uint16(&wfe->wBitsPerSample);
445 if (t->a_channels != u) { 445 if (t->a_bps != u) {
446 mp_msg(MSGT_DEMUX, MSGL_WARN, "[mkv] WARNING: (MS " 446 mp_msg(MSGT_DEMUX, MSGL_WARN, "[mkv] WARNING: (MS "
447 "compatibility mode for track %u) " 447 "compatibility mode for track %u) "
448 "Matroska says that there are %u bits per sample, " 448 "Matroska says that there are %u bits per sample, "
449 "but the WAVEFORMATEX says that there are %u.\n", t->tnum, 449 "but the WAVEFORMATEX says that there are %u.\n", t->tnum,
450 t->a_bps, u); 450 t->a_bps, u);