From 21025440afeadeb8cee56e6bf47988ab13590370 Mon Sep 17 00:00:00 2001 From: Jief Date: Fri, 11 Nov 2016 19:16:47 +0100 Subject: [PATCH] clock_drift could be left uninitialized. clock_drift redeclared instead of initialized with "uint64_t clock_drift = 0". I think this is the correction. --- rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index 576e7ba0..8d5b46df 100644 --- a/rtp.c +++ b/rtp.c @@ -474,7 +474,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; -- 2.47.2