/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2001--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2001--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
pymidi_parse_track (PyObject *self, PyObject *args)
{
unsigned char *track, *track_end;
- unsigned long track_size;
+ int track_size;
int clocks_max;
debug_print ("%s", "\n");
division = get_number (midi, *midi + 2, 2) * 4;
+ /*
if (division < 0)
- /* return midi_error (cannot handle non-metrical time"); */
+ return midi_error (cannot handle non-metrical time");
;
+ */
*midi += header_len - 6;
pymidi = PyList_New (0);