aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 12:09:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 12:09:29 +0200
commitd1409ea6843ec102f8d0ab4bd413b0b92af85071 (patch)
tree3feeef53a9950e8712558fc324e82382cd024269 /src
parent0771e521bea04a25536120d00f987b5c491b2e6a (diff)
downloaddabmux-d1409ea6843ec102f8d0ab4bd413b0b92af85071.tar.gz
dabmux-d1409ea6843ec102f8d0ab4bd413b0b92af85071.tar.bz2
dabmux-d1409ea6843ec102f8d0ab4bd413b0b92af85071.zip
Fix typo that broke startAddress initialisation
Diffstat (limited to 'src')
-rw-r--r--src/DabMultiplexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index 7ae3f7f..a432cc9 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -314,7 +314,7 @@ void DabMultiplexer::prepare_data_inputs()
(*subchannel)->startAddress = 0;
} else {
(*subchannel)->startAddress = (*(subchannel - 1))->startAddress +
- (*subchannel - 1)->getSizeCu();
+ (*(subchannel - 1))->getSizeCu();
}
if ((*subchannel)->input->open((*subchannel)->inputUri) == -1) {
perror((*subchannel)->inputUri.c_str());