]> git.pld-linux.org Git - packages/vlc.git/blame - vlc-rtp_segv.patch
- rel 3; libpng fix
[packages/vlc.git] / vlc-rtp_segv.patch
CommitLineData
caae39e1
PG
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.061978 seconds and 4 git commands to generate.