Commit 4b26e4b5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "Do not crash if sout access is not specified - fixes #2665"

This reverts commit dbdbe005.
parent 35d69f68
...@@ -300,8 +300,6 @@ sout_access_out_t *sout_AccessOutNew( vlc_object_t *p_sout, ...@@ -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_next = config_ChainCreate( &p_access->psz_access, &p_access->p_cfg,
psz_access ); psz_access );
free( psz_next ); free( psz_next );
if( !p_access->psz_access )
p_access->psz_access = strdup( "" );
p_access->psz_path = strdup( psz_name ? psz_name : "" ); p_access->psz_path = strdup( psz_name ? psz_name : "" );
p_access->p_sys = NULL; p_access->p_sys = NULL;
p_access->pf_seek = NULL; p_access->pf_seek = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment