]> git.pld-linux.org Git - packages/vlc.git/blob - vlc-rtp_segv.patch
- rel.7 - official fix for #2981 (rtp_segv replaces quickfix patch)
[packages/vlc.git] / vlc-rtp_segv.patch
1 --- ./modules/stream_out/rtp.c.org      2009-07-21 09:29:16.787252342 +0200
2 +++ ./modules/stream_out/rtp.c  2009-07-21 09:30:11.003199471 +0200
3 @@ -1400,6 +1400,9 @@ static int FileSetup( sout_stream_t *p_s
4      sout_stream_sys_t *p_sys = p_stream->p_sys;
5      FILE            *f;
6  
7 +    if( p_sys->psz_sdp == NULL )
8 +           return VLC_EGENERIC; /* too early */
9 +
10      if( ( f = utf8_fopen( p_sys->psz_sdp_file, "wt" ) ) == NULL )
11      {
12          msg_Err( p_stream, "cannot open file '%s' (%m)",
This page took 0.022605 seconds and 3 git commands to generate.