From 2ef4b8e1148deea14ee8a2c6e402aea33620b5b3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 21 Dec 2016 20:51:54 +0100 Subject: Fix FCT discontinuity detection --- src/etisnoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etisnoop.cpp') diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp index 1c02d24..7137d2e 100644 --- a/src/etisnoop.cpp +++ b/src/etisnoop.cpp @@ -371,7 +371,7 @@ int eti_analyse(eti_analyse_config_t &config) int fct = p[4]; printbuf("FCT - Frame Count", 2, p+4, 1, fct_str); if (last_fct != -1) { - if (last_fct + 1 % 250 != fct) { + if ((last_fct + 1) % 250 != fct) { printf("FCT not contiguous\n"); } } -- cgit v1.2.3