[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.170,1.171
Roberto Togni CVS
syncmail at mplayerhq.hu
Mon Oct 18 20:51:39 CEST 2004
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv11113
Modified Files:
demuxer.c
Log Message:
Fix segfault for unexistant/unreachable rtsp streams
Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- demuxer.c 8 Oct 2004 21:28:19 -0000 1.170
+++ demuxer.c 18 Oct 2004 18:51:35 -0000 1.171
@@ -1360,7 +1360,7 @@
#endif
#ifdef STREAMING_LIVE_DOT_COM
case DEMUXER_TYPE_RTP: {
- demuxer = demux_open_rtp(demuxer);
+ if (!(demuxer = demux_open_rtp(demuxer))) return NULL;
break;
}
#endif
More information about the MPlayer-cvslog
mailing list