X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=vss.c;h=37a80759e17a09bb2bd21ab8c6678985e5e0da25;hb=597d812fe8e82c888cf713420aa17d751da40dac;hp=79c09ba7ffe0a0f78053f25f003868dfa7607577;hpb=95fe1cebd7a254296312e7c0e6fcdecd0613cfc5;p=paraslash.git diff --git a/vss.c b/vss.c index 79c09ba7..37a80759 100644 --- 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;