aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FigParser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FigParser.cpp b/src/FigParser.cpp
index bda2f83..4df4cb3 100644
--- a/src/FigParser.cpp
+++ b/src/FigParser.cpp
@@ -60,9 +60,14 @@ static bool checkCRC(const uint8_t *buf, size_t size)
void FICDecoderObserver::FICChangeEnsemble(const FIC_ENSEMBLE& e)
{
+ if (ensemble.has_value() and e.eid == ensemble->eid and e.ecc == ensemble->ecc) {
+ return;
+ }
+
services.clear();
ensemble = e;
}
+
void FICDecoderObserver::FICChangeService(const LISTED_SERVICE& ls)
{
services[ls.sid] = ls;