From 3b5d94dc781a0185183253890ca0bc909dff1eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 1 Dec 2009 20:07:13 +0000 Subject: [PATCH] Raise maximum UDP packet size for IPTV to 65536 --- src/iptv_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iptv_input.c b/src/iptv_input.c index ca47cebd..f3dc1157 100644 --- a/src/iptv_input.c +++ b/src/iptv_input.c @@ -123,7 +123,7 @@ static void * iptv_thread(void *aux) { int nfds, fd, r, j; - uint8_t tsb[2048]; + uint8_t tsb[65536]; th_transport_t *t; struct epoll_event ev; @@ -140,7 +140,7 @@ iptv_thread(void *aux) continue; fd = ev.data.fd; - r = read(fd, tsb, 2048); + r = read(fd, tsb, sizeof(tsb)); // Add RTP support here