[vlc-devel] commit: Revert "Do not crash if sout access is not specified - fixes #2665" ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Apr 16 16:45:40 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 16 17:45:17 2009 +0300| [4b26e4b50e940af583ccfa2844b79a477fb97206] | committer: Rémi Denis-Courmont 

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

This reverts commit dbdbe005f7569a0986f9416ae924e35b045ad9a1.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b26e4b50e940af583ccfa2844b79a477fb97206
---

 src/stream_output/stream_output.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 2726a35..5777fbd 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;




More information about the vlc-devel mailing list