From: Mike Brady Date: Sat, 21 Jan 2017 17:30:11 +0000 (+0000) Subject: Fix small bug X-Git-Tag: 3.0.d18~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71e7dc0e93d52b05cdc34ba95ee859af68215e33;p=thirdparty%2Fshairport-sync.git Fix small bug Thanks to @jief666 for the fix. --- diff --git a/rtp.c b/rtp.c index aad447fb..7f8abee2 100644 --- a/rtp.c +++ b/rtp.c @@ -480,7 +480,7 @@ void *rtp_timing_receiver(void *arg) { if (first_local_time == 0) { first_local_time = local_time_chosen; first_remote_time = remote_time_chosen; - uint64_t clock_drift = 0; + clock_drift = 0; } else { uint64_t local_time_change = local_time_chosen - first_local_time; uint64_t remote_time_change = remote_time_chosen - first_remote_time;