[vlc-commits] Linux DVB: fix stupidity check (stupid is zero)

Rémi Denis-Courmont git at videolan.org
Mon Feb 7 23:01:05 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb  8 00:00:14 2011 +0200| [9834a85a82be52651206ebf83acc7591b940b031] | committer: Rémi Denis-Courmont

Linux DVB: fix stupidity check (stupid is zero)

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

 modules/access/dvb/linux_dvb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index a8f78df..0c36ab4 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -697,7 +697,7 @@ static int FrontendInfo( access_t *p_access )
             p_frontend->info.notifier_delay );
 
     msg_Dbg(p_access, "Frontend Info capability list:");
-    if( p_frontend->info.caps & FE_IS_STUPID)
+    if( p_frontend->info.caps == FE_IS_STUPID)
         msg_Dbg(p_access, "  no capabilities - frontend is stupid!");
     if( p_frontend->info.caps & FE_CAN_INVERSION_AUTO)
         msg_Dbg(p_access, "  inversion auto");



More information about the vlc-commits mailing list