]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP client: fix for the previous patch (wrong offset for UDP packets), issue ...
authorJaroslav Kysela <perex@perex.cz>
Sun, 22 Oct 2017 17:16:36 +0000 (19:16 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 22 Oct 2017 17:16:36 +0000 (19:16 +0200)
src/input/mpegts/satip/satip_frontend.c

index 6dcec39e229cbc25922049bd0588a58133edd420..21dfa984169aef5eb95d760b34da2d852bf7edf3 100644 (file)
@@ -2047,7 +2047,7 @@ new_tune:
     }
 
     for (i = 0, unc = 0; i < tc; i++) {
-      if (satip_frontend_rtp_decode(lfe, &seq, &unc, iovec[i].iov_base + 4, iovec[i].iov_len - 4) == 0)
+      if (satip_frontend_rtp_decode(lfe, &seq, &unc, iovec[i].iov_base, iovec[i].iov_len) == 0)
         continue;
     }
     pthread_mutex_lock(&lfe->sf_dvr_lock);