diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-18 12:10:00 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-18 12:10:00 +0100 |
commit | 842a6345dfb696bed69ba225d1365b026c929e99 (patch) | |
tree | 1775576bc0a963946be558380854d665edab4d5f | |
parent | 525fa099873aa916b1f8f69eeb488898ef3987b0 (diff) | |
download | dabmux-842a6345dfb696bed69ba225d1365b026c929e99.tar.gz dabmux-842a6345dfb696bed69ba225d1365b026c929e99.tar.bz2 dabmux-842a6345dfb696bed69ba225d1365b026c929e99.zip |
Add missing initialisation
-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() { } |