]> git.sesse.net Git - vlc/commitdiff
fix folder meta_engine (typo)
authorRafaël Carré <rafael.carre@gmail.com>
Thu, 1 Sep 2011 04:34:34 +0000 (00:34 -0400)
committerRafaël Carré <rafael.carre@gmail.com>
Thu, 1 Sep 2011 04:34:34 +0000 (00:34 -0400)
modules/meta_engine/folder.c

index 88279db90ae9b8b3470174179021043cd3dd9e21..46337908c49728e8d524b96397a3de288edac661 100644 (file)
@@ -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;