From 06156a6d73195b8d9f66902f12b2ee6ea7171c93 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 27 Sep 2005 19:15:11 +0000 Subject: [PATCH] simplified smpte check simplified smpte check --- ext/midi/midi_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/midi/midi_file.c b/ext/midi/midi_file.c index fb88c007..58751bc8 100644 --- a/ext/midi/midi_file.c +++ b/ext/midi/midi_file.c @@ -158,7 +158,7 @@ int aubio_midi_file_read_mthd(aubio_midi_file_t* mf) mf->ntracks = (unsigned) mthd[11]; mf->ntracks += (unsigned int) (mthd[10]) << 16; /** \bug: smpte timing not yet implemented */ - if((int)(mthd[12]) < 0){ + if(!mthd[12]){ /*if((mthd[12]) < 0){*/ mf->uses_smpte = 1; mf->smpte_fps = -mthd[12]; -- 2.26.2