diff decoders/aiff.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 1b36803660bc
children db3f0ee7aac0
line wrap: on
line diff
--- a/decoders/aiff.c	Thu Nov 01 19:12:36 2001 +0000
+++ b/decoders/aiff.c	Thu Nov 01 19:13:17 2001 +0000
@@ -63,10 +63,11 @@
 static void AIFF_close(Sound_Sample *sample);
 static Uint32 AIFF_read(Sound_Sample *sample);
 
+static const char *extensions_aiff[] = { "AIFF", NULL };
 const Sound_DecoderFunctions __Sound_DecoderFunctions_AIFF =
 {
     {
-        "AIFF",
+        extensions_aiff,
         "Audio Interchange File Format",
         "Torbjörn Andersson <d91tan@Update.UU.SE>",
         "http://www.icculus.org/SDL_sound/"