]> git.sesse.net Git - vlc/blobdiff - src/stream_output/profiles.c
Remove useless test before free and delete.
[vlc] / src / stream_output / profiles.c
index 640d1d938e8607c217f4f29cb326473997a24514..8cc975d759bfeb75dfbc38db096fe3be899878e3 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc_streaming.h>
 #include <assert.h>
 
@@ -454,7 +458,7 @@ void streaming_GuiDescToChain( vlc_object_t *p_obj, sout_chain_t *p_chain,
         {
             char *psz_url;
             asprintf( &psz_url, "%s%s:%i%s", psz_username, pd->psz_icecast,
-                      pd->i_icecast, pd->psz_mountpoint );
+                      pd->i_icecast, pd->psz_icecast_mountpoint );
             p_std = streaming_ChainAddStd( DUP_OR_CHAIN, "shout",
                                            pd->psz_mux, psz_url );
             free( psz_url );
@@ -464,7 +468,7 @@ void streaming_GuiDescToChain( vlc_object_t *p_obj, sout_chain_t *p_chain,
             char *psz_url;
             asprintf( &psz_url, "%s:%s@%s%s", pd->sa_icecast.psz_username,
                       pd->sa_icecast.psz_password, pd->psz_icecast,
-                      pd->psz_mountpoint );
+                      pd->psz_icecast_mountpoint );
             p_std = streaming_ChainAddStd( DUP_OR_CHAIN, "shout",
                                            pd->psz_mux, psz_url );
             free( psz_url );