diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-21 18:58:42 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-21 18:58:42 +0200 |
commit | e6544091a297623b62964a9028579351a664bf68 (patch) | |
tree | 4659b5f069cc55f60a1de93f406c73235e13818f /src/MuxElements.cpp | |
parent | d60b36afc30460f070f25dd8ee8d52b556ea8790 (diff) | |
download | dabmux-e6544091a297623b62964a9028579351a664bf68.tar.gz dabmux-e6544091a297623b62964a9028579351a664bf68.tar.bz2 dabmux-e6544091a297623b62964a9028579351a664bf68.zip |
Replace subchannel id by enum
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r-- | src/MuxElements.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index c7ac076..4dd226b 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -210,7 +210,7 @@ bool DabComponent::isPacketComponent(vector<dabSubchannel*>& subchannels) "for defining packet "); return false; } - if ((*getSubchannel(subchannels, subchId))->type != 3) { + if ((*getSubchannel(subchannels, subchId))->type != Packet) { etiLog.log(error, "Invalid component type for defining packet "); return false; |