[vlc-devel] commit: module_need: fix broken logic ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Sep 26 17:44:09 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Sep 26 18:47:09 2008 +0300| [ab6145b20376c78c61570a6d529b6464022e9a7c] | committer: Rémi Denis-Courmont 

module_need: fix broken logic

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

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

diff --git a/src/modules/modules.c b/src/modules/modules.c
index 0123318..85b12ae 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -601,7 +601,7 @@ found_shortcut:
     else if( count == 0 )
     {
         if( !strcmp( psz_capability, "access_demux" )
-         && !strcmp( psz_capability, "vout_window" ) )
+         || !strcmp( psz_capability, "vout_window" ) )
         {
             msg_Dbg( p_this, "no %s module matched \"%s\"",
                 psz_capability, (psz_name && *psz_name) ? psz_name : "any" );




More information about the vlc-devel mailing list