[Libreoffice-commits] core.git: avmedia/source
Minh Ngo
nlminhtl at gmail.com
Wed Aug 21 14:21:13 PDT 2013
avmedia/source/vlc/wrapper/SymbolLoader.hxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 8b3b7e308b1d98cb9fa9c798f8fbb387e59f10fc
Author: Minh Ngo <nlminhtl at gmail.com>
Date: Thu Aug 22 00:20:32 2013 +0300
Finding libvlc in Mac OS/Windows platforms
Change-Id: I34cff74fa59161a5e97411000132ceff65cfff68
diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
index 4608b61..c7e66cf 100644
--- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx
+++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
@@ -28,7 +28,9 @@ namespace
{
const char *libNames[] = {
"libvlc.so.5",
- "libvlccore.so.5"
+ "libvlccore.so.5",
+ "libvlc.dll",
+ "libvlc.dylib"
};
template<size_t N>
@@ -37,7 +39,7 @@ namespace
for (uint i = 0; i < N; ++i)
{
SymbolFunc aMethod = ( SymbolFunc )osl_getFunctionSymbol
- ( aModule, OUString::createFromAscii ( pMap[ i ].symName ).pData );
+ ( aModule, OUString::createFromAscii( pMap[ i ].symName ).pData );
if ( !aMethod )
return false;
More information about the Libreoffice-commits
mailing list