mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Fix segfault for unexistant/unreachable rtsp streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13674 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4107fec833
commit
a594e93e86
@ -1360,7 +1360,7 @@ switch(file_format){
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user