From: RĂ©mi Denis-Courmont Date: Thu, 16 Apr 2009 14:45:17 +0000 (+0300) Subject: Revert "Do not crash if sout access is not specified - fixes #2665" X-Git-Tag: 1.0.0-pre2~19 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4b26e4b50e940af583ccfa2844b79a477fb97206;p=vlc Revert "Do not crash if sout access is not specified - fixes #2665" This reverts commit dbdbe005f7569a0986f9416ae924e35b045ad9a1. --- diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c index 2726a3510c..5777fbd44c 100644 --- a/src/stream_output/stream_output.c +++ b/src/stream_output/stream_output.c @@ -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;