IPTV: fix iptv_input_stop_mux() - the im->mm_active can be NULL in this routine

This commit is contained in:
Jaroslav Kysela 2014-06-20 18:20:47 +02:00
parent 0c72ee5bb2
commit 7da10017d9

View file

@ -237,10 +237,6 @@ iptv_input_stop_mux ( mpegts_input_t *mi, mpegts_mux_instance_t *mmi )
iptv_mux_t *im = (iptv_mux_t*)mmi->mmi_mux;
mpegts_network_link_t *mnl;
// Not active??
if (!im->mm_active)
return;
/* Stop */
if (im->im_handler->stop)
im->im_handler->stop(im);