source file of the GNU LilyPond music typesetter
- (c) 2001--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2001--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
*/
midi_parse_track (unsigned char **track, unsigned char *track_end)
{
unsigned int time = 0;
- unsigned char running_status;
unsigned long track_len, track_size;
PyObject *pytrack = 0;
{
PyObject *pytime = PyInt_FromLong (0L);
+ unsigned char running_status = 0;
+
while (*track < track_end)
{
long dt = get_variable_length_number(track, track_end);
if (division < 0)
- /* return midi_error ("can't handle non-metrical time"); */
+ /* return midi_error (cannot handle non-metrical time"); */
;
*midi += header_len - 6;