diff --git a/src/iptv_input.c b/src/iptv_input.c index bd359bf3..75c9db14 100644 --- a/src/iptv_input.c +++ b/src/iptv_input.c @@ -172,7 +172,7 @@ iptv_thread(void *aux) continue; for(j = 0; j < r; j += 188) - iptv_ts_input(t, tsb + j); + iptv_ts_input(t, buf + j); } pthread_mutex_unlock(&iptv_recvmutex); }