aboutsummaryrefslogtreecommitdiffstats
path: root/src/dabOutput/edi
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-09 18:15:16 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-09 18:15:16 +0200
commitce9792fc49e4722a927b790c08ad83bdad673e7e (patch)
tree25d6d097dfeea29bd997873c18fdebce9172763c /src/dabOutput/edi
parentf9bdf5bec2f3778c4fef99da698a8a7a6f182fe0 (diff)
downloaddabmux-ce9792fc49e4722a927b790c08ad83bdad673e7e.tar.gz
dabmux-ce9792fc49e4722a927b790c08ad83bdad673e7e.tar.bz2
dabmux-ce9792fc49e4722a927b790c08ad83bdad673e7e.zip
EDI: Do not use misbehaving UdpPacket
Diffstat (limited to 'src/dabOutput/edi')
-rw-r--r--src/dabOutput/edi/TagItems.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabOutput/edi/TagItems.cpp b/src/dabOutput/edi/TagItems.cpp
index b97721a..f29eaeb 100644
--- a/src/dabOutput/edi/TagItems.cpp
+++ b/src/dabOutput/edi/TagItems.cpp
@@ -151,7 +151,7 @@ std::vector<uint8_t> TagESTn::Assemble()
packet.push_back((sstc >> 8) & 0xFF);
packet.push_back(sstc & 0xFF);
- for (size_t i = 0; i < mst_length; i++) {
+ for (size_t i = 0; i < mst_length * 8; i++) {
packet.push_back(mst_data[i]);
}