ref: 06156a6d73195b8d9f66902f12b2ee6ea7171c93
parent: 26d9f8f56c485712e30a5d418a12e128c954fcb3
author: Paul Brossier <piem@altern.org>
date: Tue Sep 27 15:15:11 EDT 2005
simplified smpte check simplified smpte check
--- a/ext/midi/midi_file.c
+++ b/ext/midi/midi_file.c
@@ -158,7 +158,7 @@
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];