diff options
author | j.novak@netsystem.cz <j.novak@netsystem.cz> | 2023-04-10 10:35:33 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2023-04-10 10:35:33 +0000 |
commit | 58e6de547e566016ab15ba4427e6530d42a5b017 (patch) | |
tree | fff70779c7e6fee7dd18f8eec6ae48140a8d3194 /ui/tap-rtp-analysis.c | |
parent | ab065a31f4c41dd4817c4835bae1f53ac636fa42 (diff) |
RTP: Fix of incorrect timestamp sequence error on timestamp rollover
Diffstat (limited to 'ui/tap-rtp-analysis.c')
-rw-r--r-- | ui/tap-rtp-analysis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tap-rtp-analysis.c b/ui/tap-rtp-analysis.c index 15dc0ec158..30e00d955a 100644 --- a/ui/tap-rtp-analysis.c +++ b/ui/tap-rtp-analysis.c @@ -249,7 +249,7 @@ rtppacket_analyse(tap_rtp_stat_t *statinfo, // Normal timestamp sequence in_time_sequence = TRUE; } else if ((statinfo->first_timestamp > rtpinfo->info_timestamp) && - (TIMESTAMP_DIFFERENCE(0x00000000,statinfo->first_timestamp) + TIMESTAMP_DIFFERENCE(rtpinfo->info_timestamp, 0xFFFFFFFF)) < 0x80000000) { + (TIMESTAMP_DIFFERENCE(statinfo->first_timestamp, 0xFFFFFFFF) + TIMESTAMP_DIFFERENCE(0x00000000, rtpinfo->info_timestamp)) < 0x80000000) { // Normal timestamp sequence with wraparound in_time_sequence = TRUE; } else { |