aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0_13.cpp
diff options
context:
space:
mode:
authorKuntzeM <github@kuntze.email>2019-02-11 16:26:54 +0100
committerKuntzeM <github@kuntze.email>2019-02-11 16:26:54 +0100
commit7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a (patch)
tree40cc6ec46894fe37b754f81c31783c0c08bde2b2 /src/fig/FIG0_13.cpp
parenta8cc30be9589280d9bde3ddaf676610c9b12af2a (diff)
downloaddabmux-7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a.tar.gz
dabmux-7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a.tar.bz2
dabmux-7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a.zip
fixed bug DAB with protection level EEP_A 1-4
Diffstat (limited to 'src/fig/FIG0_13.cpp')
-rw-r--r--src/fig/FIG0_13.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fig/FIG0_13.cpp b/src/fig/FIG0_13.cpp
index 0bb7fd7..433838e 100644
--- a/src/fig/FIG0_13.cpp
+++ b/src/fig/FIG0_13.cpp
@@ -90,7 +90,7 @@ FillStatus FIG0_13::fill(uint8_t *buf, size_t max_size)
}
if ( m_transmit_programme &&
- (*subchannel)->type == subchannel_type_t::Audio &&
+ ((*subchannel)->type == subchannel_type_t::DABPlusAudio || (*subchannel)->type == subchannel_type_t::DABAudio) &&
(*componentFIG0_13)->audio.uaType != 0xffff) {
const int required_size = 3+4+11;