From ee50536b743272a8000e76b6565dbddbf938eccd Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 22 Feb 2009 14:12:33 +0000 Subject: Accept DVB API 5, patch by Steven Brudenell, steven.brudenell gmail com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28702 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/dvbin.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/dvbin.h b/stream/dvbin.h index 84c9d2c625..dcb22ce238 100644 --- a/stream/dvbin.h +++ b/stream/dvbin.h @@ -38,9 +38,16 @@ #undef DVB_ATSC #if defined(DVB_API_VERSION_MINOR) -#if DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1 + +/* kernel headers >=2.6.28 have version 5. + * + * FIXME: are there any real differences between 3.1 and 5? + */ + +#if (DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || DVB_API_VERSION == 5 #define DVB_ATSC 1 #endif + #endif -- cgit v1.2.3