summaryrefslogtreecommitdiff
path: root/recv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'recv.cpp')
-rw-r--r--recv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/recv.cpp b/recv.cpp
index 04a2c17..7be6d62 100644
--- a/recv.cpp
+++ b/recv.cpp
@@ -24,13 +24,13 @@ cMarkAdReceiver::cMarkAdReceiver(int RecvNumber, const char *Filename, cTimer *T
buffer.SetTimeouts(0, 10);
bool useH264=false;
-#if APIVERSNUM >= 10700 && APIVERSNUM < 10702
+#if APIVERSNUM >= 10700
+#ifdef DVBFE_DELSYS_DVBS2
if (Timer->Channel()->System()==DVBFE_DELSYS_DVBS2) useH264=true;
-#endif
-
-#if APIVERSNUM >= 10702
+#else
if (Timer->Channel()->System()==SYS_DVBS2) useH264=true;
#endif
+#endif
memset(&macontext,0,sizeof(macontext));
if (Timer->Event())
{