MT#55283 atomic read of jitter

Change-Id: I7bc1c2b3f4ed9b7b24b28795e700dc8faaacabf1
Warned-by: Coverity
(cherry picked from commit 1db2ec7732)
mr26.3
Richard Fuchs 3 weeks ago
parent 9c9ef48f6b
commit 1fbb53b252

@ -735,7 +735,7 @@ void ssrc_collect_metrics(struct call_media *media) {
break; // end of list
// work on a copy, as the estimator itself must stay in RTP timestamp units
uint32_t jitter = s->jitter;
uint32_t jitter = atomic_get_na(&s->jitter);
// exclude zero values - technically possible but unlikely and probably just unset
if (!jitter)
continue;

Loading…
Cancel
Save