diff src/madplug/input.c @ 1985:a260bd1beef0

use set_params() in madplug
author William Pitcock <nenolod@atheme.org>
date Sun, 07 Oct 2007 14:26:26 -0500
parents fa9f85cebade
children 2ffc6a69fcd1
line wrap: on
line diff
--- a/src/madplug/input.c	Sun Oct 07 14:19:19 2007 -0500
+++ b/src/madplug/input.c	Sun Oct 07 14:26:26 2007 -0500
@@ -497,7 +497,7 @@
         if ( ( ( info->prev_title != NULL ) && ( strcmp(info->prev_title,tmp) ) ) ||
              ( info->prev_title == NULL ) )
         {
-            mad_plugin->set_info(tmp,
+            info->playback->set_params(info->playback, tmp,
                                  -1, // indicate the stream is unseekable
                                  info->bitrate, info->freq, info->channels);
             if (info->prev_title)