From: Adrien CLERC Date: Sun, 31 May 2015 13:41:58 +0000 (+0200) Subject: … and use the callback X-Git-Tag: v4.2.1~2386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=072ff3f4ce83b2c26cff245ea3576a406541702f;p=thirdparty%2Ftvheadend.git … and use the callback --- diff --git a/src/input/mpegts/iptv/iptv_rtsp.c b/src/input/mpegts/iptv/iptv_rtsp.c index d49391bc1..6d9283709 100644 --- a/src/input/mpegts/iptv/iptv_rtsp.c +++ b/src/input/mpegts/iptv/iptv_rtsp.c @@ -262,7 +262,7 @@ iptv_rtsp_read ( iptv_mux_t *im ) r = recv(im->mm_iptv_fd2, buf, sizeof(buf), MSG_DONTWAIT); } while (r > 0); - r = iptv_rtp_read(im, um, NULL); + r = iptv_rtp_read(im, um, & iptv_rtp_header_callback); if (r < 0 && ERRNO_AGAIN(errno)) r = 0; return r;