[vlc-commits] fix folder meta_engine (typo)

Rafaël Carré git at videolan.org
Thu Sep 1 06:34:53 CEST 2011


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Sep  1 00:34:34 2011 -0400| [223bb3fcfc688cfba866b05ede1e8b93f7b61878] | committer: Rafaël Carré

fix folder meta_engine (typo)

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

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

diff --git a/modules/meta_engine/folder.c b/modules/meta_engine/folder.c
index 88279db..4633790 100644
--- a/modules/meta_engine/folder.c
+++ b/modules/meta_engine/folder.c
@@ -114,7 +114,7 @@ static int FindMeta( vlc_object_t *p_this )
         if( asprintf( &filepath, "%s%s", psz_path, filename ) == -1 )
             filepath = NULL;
         free( filebuf );
-        if( unlikely(filepath != NULL) )
+        if( unlikely(filepath == NULL) )
             continue;
 
         struct stat dummy;



More information about the vlc-commits mailing list