From ebe8447f4cee32e2a096438ca0b458036f646b28 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 13 Aug 2015 22:11:28 +0200 Subject: Correctly set initialised flags for all FIGs --- src/fig/FIG1.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fig/FIG1.cpp') 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; -- cgit v1.2.3