diff options
-rw-r--r-- | src/DabMultiplexer.cpp | 1 | ||||
-rw-r--r-- | src/MuxElements.h | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp index 70f3f5e..eb6de3d 100644 --- a/src/DabMultiplexer.cpp +++ b/src/DabMultiplexer.cpp @@ -556,6 +556,7 @@ void DabMultiplexer::mux_frame(std::vector<boost::shared_ptr<DabOutput> >& outpu tag_ESTn.tpl = sstc->TPL; tag_ESTn.rfa = 0; // two bits tag_ESTn.mst_length = getSizeByte(*subchannel) / 8; + tag_ESTn.mst_data = nullptr; assert(getSizeByte(*subchannel) % 8 == 0); edi_subchannelToTag[*subchannel] = tag_ESTn; diff --git a/src/MuxElements.h b/src/MuxElements.h index dc84ccb..8539909 100644 --- a/src/MuxElements.h +++ b/src/MuxElements.h @@ -233,7 +233,12 @@ class dabSubchannel public: dabSubchannel(std::string& uid) : uid(uid), - id(0) + input(), + id(0), + type(subchannel_type_t::Audio), + startAddress(0), + bitrate(0), + protection() { } |