]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
… and use the callback
authorAdrien CLERC <adrien@antipoul.fr>
Sun, 31 May 2015 13:41:58 +0000 (15:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 2 Jun 2015 13:38:15 +0000 (15:38 +0200)
src/input/mpegts/iptv/iptv_rtsp.c

index d49391bc153f58393751bd6f1de6e0bf45e1f491..6d9283709f2a85667dd8effcd7130b3c0f41e59a 100644 (file)
@@ -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;