summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r--src/MuxElements.cpp2
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;