From cb0b8fa5ffc42e9bd02073ec6b9873e92872dde7 Mon Sep 17 00:00:00 2001 From: lu_zero Date: Mon, 24 Dec 2007 01:54:30 +0000 Subject: [PATCH] Make sure we have an rtsp session git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25518 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_nemesi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmpdemux/demux_nemesi.c b/libmpdemux/demux_nemesi.c index 89f4129b0c..c145489bda 100644 --- a/libmpdemux/demux_nemesi.c +++ b/libmpdemux/demux_nemesi.c @@ -190,6 +190,9 @@ static demuxer_t* demux_open_rtp(demuxer_t* demuxer) return demuxer; } + if (!ctl->rtsp_queue) + return demuxer; + media = ctl->rtsp_queue->media_queue; for (; media; media=media->next) { sdp_medium_info * info = media->medium_info;