]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - vss.c
audiod: Change return value of open_current_receiver() to void.
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index 79c09ba7ffe0a0f78053f25f003868dfa7607577..37a80759e17a09bb2bd21ab8c6678985e5e0da25 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -209,7 +209,7 @@ static int need_audio_header(struct fec_client *fc, struct vss_task *vsst)
                return 0;
        if (!vsst->header_len)
                return 0;
-       if (fc->group.num && tv_diff(&fc->next_header_time, now, NULL) < 0)
+       if (fc->group.num && tv_diff(&fc->next_header_time, now, NULL) > 0)
                return 0;
        tv_add(now, &vsst->header_interval, &fc->next_header_time);
        return 1;