aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig0_1.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-05 15:33:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-05 15:33:35 +0100
commita1415d55cd2db58ff5469cabe64efb9ff29dcec0 (patch)
treee2e29c830356644819688d42e9cd7b1bf2567ef3 /src/fig0_1.cpp
parent87d5a5181660f9dad71062aa6fca243fd5dc668a (diff)
downloadetisnoop-a1415d55cd2db58ff5469cabe64efb9ff29dcec0.tar.gz
etisnoop-a1415d55cd2db58ff5469cabe64efb9ff29dcec0.tar.bz2
etisnoop-a1415d55cd2db58ff5469cabe64efb9ff29dcec0.zip
Properly parse FIG0/1 if its last entry is UEP
Diffstat (limited to 'src/fig0_1.cpp')
-rw-r--r--src/fig0_1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fig0_1.cpp b/src/fig0_1.cpp
index f5df4c4..944849f 100644
--- a/src/fig0_1.cpp
+++ b/src/fig0_1.cpp
@@ -53,7 +53,7 @@ bool fig0_1(fig0_common_t& fig0, int indent)
char desc[128];
bool complete = false;
- while (i < fig0.figlen-3) {
+ while (i <= fig0.figlen-3) {
// iterate over subchannels
int subch_id = f[i] >> 2;
complete |= fig0_1_is_complete(subch_id);