aboutsummaryrefslogtreecommitdiffstats
path: root/src/csn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/csn1.c')
-rw-r--r--src/csn1.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/csn1.c b/src/csn1.c
index 594e8ec0..21d3662e 100644
--- a/src/csn1.c
+++ b/src/csn1.c
@@ -571,6 +571,13 @@ csnStreamDecoder(csnStream_t* ar, const CSN_DESCR* pDescr, struct bitvec *vector
remaining_bits_len = arT.remaining_bits_len;
bit_offset = arT.bit_offset;
}
+
+ /* Skip bits not handled by serialize(), if any */
+ if (Status > 0) {
+ LOGPC(DCSN1, LOGL_NOTICE, "skipped = %d | ", Status);
+ *readIndex += Status;
+ }
+
pDescr++;
}
else