diff decoders/midi.c @ 149:1df5c106504e

Decoders can now list multiple file extensions.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 01 Nov 2001 19:13:17 +0000
parents 70baf29577d8
children 47cc2de2ae36
line wrap: on
line diff
--- a/decoders/midi.c	Thu Nov 01 19:12:36 2001 +0000
+++ b/decoders/midi.c	Thu Nov 01 19:13:17 2001 +0000
@@ -69,10 +69,11 @@
 static void MIDI_close(Sound_Sample *sample);
 static Uint32 MIDI_read(Sound_Sample *sample);
 
+static const char *extensions_midi[] = { "MIDI", NULL };
 const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI =
 {
     {
-        "MIDI",
+        extensions_midi,
         "MIDI music through the TiMidity MIDI to WAVE converter",
         "Torbjörn Andersson <d91tan@Update.UU.SE>",
         "http://www.goice.co.jp/member/mo/timidity/"