[vlc-commits] fix folder meta_engine (typo)
Rafaël Carré
git at videolan.org
Thu Sep 1 06:15:11 CEST 2011
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Sep 1 00:14:55 2011 -0400| [19f24c5a4b95ea3a30a4dd2e0e379f108c7d843e] | committer: Rafaël Carré
fix folder meta_engine (typo)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19f24c5a4b95ea3a30a4dd2e0e379f108c7d843e
---
modules/meta_engine/folder.c | 2 +-
src/modules/bank.c | 4 +++-
2 files changed, 4 insertions(+), 2 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;
diff --git a/src/modules/bank.c b/src/modules/bank.c
index a67128e..45fbeb3 100644
--- a/src/modules/bank.c
+++ b/src/modules/bank.c
@@ -71,7 +71,9 @@ static void module_StoreBank (module_t *module)
modules.head = module;
}
-#ifdef __GNUC__
+#if defined(__APPLE__)
+__attribute__((weak_import))
+#elif defined(__GNUC__)
__attribute__((weak))
#else
#pragma weak vlc_static_modules
More information about the vlc-commits
mailing list