summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG1.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-13 22:11:28 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-13 22:11:28 +0200
commitebe8447f4cee32e2a096438ca0b458036f646b28 (patch)
tree33e7367d5652bef9951caae01a80d6231ae4d68c /src/fig/FIG1.cpp
parentc5b84286e25183a6744ff520c60dcb592150d837 (diff)
downloaddabmux-ebe8447f4cee32e2a096438ca0b458036f646b28.tar.gz
dabmux-ebe8447f4cee32e2a096438ca0b458036f646b28.tar.bz2
dabmux-ebe8447f4cee32e2a096438ca0b458036f646b28.zip
Correctly set initialised flags for all FIGs
Diffstat (limited to 'src/fig/FIG1.cpp')
-rw-r--r--src/fig/FIG1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fig/FIG1.cpp b/src/fig/FIG1.cpp
index 2da9130..160c3b9 100644
--- a/src/fig/FIG1.cpp
+++ b/src/fig/FIG1.cpp
@@ -77,6 +77,7 @@ FillStatus FIG1_1::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
service = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
@@ -133,6 +134,7 @@ FillStatus FIG1_4::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
component = m_rti->ensemble->components.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
@@ -219,6 +221,7 @@ FillStatus FIG1_5::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
service = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;