From e6544091a297623b62964a9028579351a664bf68 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 21 May 2014 18:58:42 +0200 Subject: Replace subchannel id by enum --- src/MuxElements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MuxElements.cpp') 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& 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; -- cgit v1.2.3