[vlc-commits] DTV: fix compilation with kernel versions 2.6.28 through 2.6.31

Rémi Denis-Courmont git at videolan.org
Fri Mar 25 22:42:53 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar 25 14:54:45 2011 +0200| [781e3ddb2c88b8225c5e7e325c1b3a55512dfc2f] | committer: Rémi Denis-Courmont

DTV: fix compilation with kernel versions 2.6.28 through 2.6.31

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=781e3ddb2c88b8225c5e7e325c1b3a55512dfc2f
---

 modules/access/dtv/linux.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index 65cad0a..206f91f 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -691,7 +691,9 @@ static int dvb_parse_transmit_mode (int i)
     static const dvb_int_map_t tab[] = {
         { -1, TRANSMISSION_MODE_AUTO },
         {  2, TRANSMISSION_MODE_2K   },
+#if DVBv5(1)
         {  4, TRANSMISSION_MODE_4K   },
+#endif
         {  8, TRANSMISSION_MODE_8K   },
 #if 0
         { 16, TRANSMISSION_MODE_16K  },



More information about the vlc-commits mailing list