From 4c546180fdbe4e95e4c630acd4f97854aee9a42f Mon Sep 17 00:00:00 2001 From: philippe44 Date: Sun, 29 Mar 2020 22:40:40 -0700 Subject: [PATCH] continue the AirPlay saga - release --- components/raop/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/raop/rtp.c b/components/raop/rtp.c index c8961538..58c6e7c8 100644 --- a/components/raop/rtp.c +++ b/components/raop/rtp.c @@ -703,7 +703,7 @@ static void *rtp_thread_func(void *arg) { // better discard sync packets when roundtrip is suspicious if (roundtrip > 100) { // ask for another one only if we are not synced already - if (!(ctx->synchro.status & NTP_SYNC) rtp_request_timing(ctx); + if (!(ctx->synchro.status & NTP_SYNC)) rtp_request_timing(ctx); LOG_WARN("[%p]: discarding NTP roundtrip of %u ms", ctx, roundtrip); break; }