summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-22 11:43:46 +0100
committerwm4 <wm4@nowhere>2016-01-22 11:54:37 +0100
commitff4bd73fcbad60c1734891aca78d89d8ca0ea1b2 (patch)
treea90c46b2345a4a265b49e4981e4ff186e3ab143a /stream
parent657dd4b8072934e26b1df1f37daa829fe6b36ede (diff)
downloadmpv-ff4bd73fcbad60c1734891aca78d89d8ca0ea1b2.tar.bz2
mpv-ff4bd73fcbad60c1734891aca78d89d8ca0ea1b2.tar.xz
dvb: fix compilation with older Linux headers
At least DTV_ENUM_DELSYS is not available in older versions. It's hard to tell when this identifier was introduced, but it appears it was probably API version 5.5.
Diffstat (limited to 'stream')
-rw-r--r--stream/dvbin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h
index e0688aa79e..9c2eb35e26 100644
--- a/stream/dvbin.h
+++ b/stream/dvbin.h
@@ -28,9 +28,10 @@
* Version 5 is also called S2API, it adds support for tuning to S2 channels
* and is extensible for future delivery systems. Old API is deprecated.
* StreamID-implementation only supported since API >=5.2.
+ * At least DTV_ENUM_DELSYS requires 5.5.
*/
-#if (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 2)
+#if (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= 5)
#define DVB_USE_S2API 1
// This had a different name until API 5.8.