From: Paul Brossier Date: Tue, 27 Sep 2005 19:15:11 +0000 (+0000) Subject: simplified smpte check X-Git-Tag: 0.4.0-beta1~1351 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=06156a6d73195b8d9f66902f12b2ee6ea7171c93;p=aubio.git simplified smpte check simplified smpte check --- 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];