diff decoders/modplug.c @ 477:3e705c9180e5

Fixed binary compatibility, added Sound_GetDuration().
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 12 May 2004 02:15:00 +0000
parents c66080364dff
children 67d785044411
line wrap: on
line diff
--- a/decoders/modplug.c	Sat May 08 22:06:14 2004 +0000
+++ b/decoders/modplug.c	Wed May 12 02:15:00 2004 +0000
@@ -270,7 +270,7 @@
     if (modplug_mutex != NULL)
         SDL_UnlockMutex(modplug_mutex);
 
-    sample->total_time = ModPlug_GetLength(module);
+    internal->total_time = ModPlug_GetLength(module);
     SNDDBG(("MODPLUG: [%d ms] %s\n",
             ModPlug_GetLength(module), ModPlug_GetName(module)));