aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0.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/FIG0.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/FIG0.cpp')
-rw-r--r--src/fig/FIG0.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fig/FIG0.cpp b/src/fig/FIG0.cpp
index 13b21f7..b424fe3 100644
--- a/src/fig/FIG0.cpp
+++ b/src/fig/FIG0.cpp
@@ -78,6 +78,7 @@ FillStatus FIG0_1::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
subchannelFIG0_1 = m_rti->ensemble->subchannels.end();
+ m_initialised = true;
}
if (max_size < 6) {
@@ -181,6 +182,7 @@ FillStatus FIG0_2::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
serviceFIG0_2 = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
@@ -431,6 +433,7 @@ FillStatus FIG0_8::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
componentFIG0_8 = m_rti->ensemble->components.end();
+ m_initialised = true;
}
FIGtype0* fig0 = NULL;
@@ -713,6 +716,7 @@ FillStatus FIG0_13::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
componentFIG0_13 = m_rti->ensemble->components.end();
+ m_initialised = true;
}
FIGtype0* fig0 = NULL;
@@ -845,6 +849,7 @@ FillStatus FIG0_17::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
serviceFIG0_17 = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;