mid_istream_open_mem() doesn't accept an autofree argument as of
libtimidity >= 0.2.0
https://bugzilla.gnome.org/show_bug.cgi?id=772503
GST_DEBUG_OBJECT (timidity, "Parsing song");
+#if defined(LIBTIMIDITY_VERSION) && LIBTIMIDITY_VERSION < 0x000200L
stream =
mid_istream_open_mem (timidity->mididata, timidity->mididata_size, 0);
+#else
+ stream = mid_istream_open_mem (timidity->mididata, timidity->mididata_size);
+#endif
timidity->song = mid_song_load (stream, timidity->song_options);
mid_istream_close (stream);