diff decoders/shn.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 8a5a1c61d3c6
children 0f958979b1dd
line wrap: on
line diff
--- a/decoders/shn.c	Thu Nov 01 19:12:36 2001 +0000
+++ b/decoders/shn.c	Thu Nov 01 19:13:17 2001 +0000
@@ -67,10 +67,11 @@
 static void SHN_close(Sound_Sample *sample);
 static Uint32 SHN_read(Sound_Sample *sample);
 
+static const char *extensions_shn[] = { "SHN", NULL };
 const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN =
 {
     {
-        "SHN",
+        extensions_shn,
         "Shorten-compressed audio data",
         "Ryan C. Gordon <icculus@clutteredmind.org>",
         "http://www.icculus.org/SDL_sound/"