[MPlayer-dev-eng] [PATCH] fix segfault for 404 on rtsp urls

Roberto Togni r_togni at tiscali.it
Sat Oct 16 18:46:26 CEST 2004


Hi all.

If you try to play an rtsp url that returns an error (like a 404),  
mplayer segfaults. This simple patch fixes it.

I'm posting it here because i don't know if there is a reason why  
demux_rtp check is different from other demuxer checks, or if the check  
for NULL return was just overlooked.

If noone complains i'll aplly it in a few days.

Ciao,
 Roberto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: demuxer.c.diff
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041016/9e8a8f59/attachment.bin>


More information about the MPlayer-dev-eng mailing list