+ /* if there was no meta-EOT event, buffer_length can be zero. This is
+ an error in the SMF file, but it shouldn't be treated as fatal.
+ */
+ if (buffer_length == 0) {
+ g_warning ("SMF warning: expected EOT at end of track, but none found");
+ goto error;
+ }