]> git.sesse.net Git - vlc/commitdiff
Revert "Do not crash if sout access is not specified - fixes #2665"
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 16 Apr 2009 14:45:17 +0000 (17:45 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 16 Apr 2009 14:45:17 +0000 (17:45 +0300)
This reverts commit dbdbe005f7569a0986f9416ae924e35b045ad9a1.

src/stream_output/stream_output.c

index 2726a3510ce32cc54e2af8e92abaa240c84f9e24..5777fbd44c8ca4be9013bcdfa269fde28f5f8eb5 100644 (file)
@@ -300,8 +300,6 @@ sout_access_out_t *sout_AccessOutNew( vlc_object_t *p_sout,
     psz_next = config_ChainCreate( &p_access->psz_access, &p_access->p_cfg,
                                    psz_access );
     free( psz_next );
-    if( !p_access->psz_access )
-        p_access->psz_access = strdup( "" );
     p_access->psz_path   = strdup( psz_name ? psz_name : "" );
     p_access->p_sys      = NULL;
     p_access->pf_seek    = NULL;