diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index 86be9740f6..fb56183e2c 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -1298,7 +1298,7 @@ switch(file_format){ #endif #ifdef STREAMING_LIVE_DOT_COM case DEMUXER_TYPE_RTP: { - demux_open_rtp(demuxer); + demuxer = demux_open_rtp(demuxer); break; } #endif