diff src/icecast/icecast.c @ 2831:8f28fccf2bdd

fixed Ogg Vorbis streams!
author Andrew O. Shadoura <bugzilla@tut.by>
date Mon, 14 Jul 2008 01:16:16 +0300
parents b17cffd47053
children b61d7e3837a5
line wrap: on
line diff
--- a/src/icecast/icecast.c	Mon Jul 14 00:27:39 2008 +0300
+++ b/src/icecast/icecast.c	Mon Jul 14 01:16:16 2008 +0300
@@ -260,8 +260,6 @@
 
     plugin = plugin_new;
 
-    rv = (plugin.open)();
-
     if (!shout)
     {
         if (!(shout = shout_new()))
@@ -328,6 +326,8 @@
         }
     }
 
+    rv = (plugin.open)();
+
     g_debug("ICE_OPEN");
     return rv;
 }