[vlc-devel] commit: jvlc: load the correct libvlc library on windows (2) ( Filippo Carone )

git version control git at videolan.org
Sun Jul 27 22:22:35 CEST 2008


vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sun Jul 27 22:23:38 2008 +0200| [aa6fd556ea5c42b8791c8fc4b82f5aaafa6f3f55]

jvlc: load the correct libvlc library on windows (2)

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

 .../java/org/videolan/jvlc/internal/LibVlc.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java b/bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java
index 3d299de..f1c2de1 100644
--- a/bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java
+++ b/bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java
@@ -38,7 +38,7 @@ import com.sun.jna.Union;
 
 public interface LibVlc extends Library
 {
-    LibVlc INSTANCE = (LibVlc) Native.loadLibrary(Platform.isLinux()? "vlc" : "libvlc", LibVlc.class);
+    LibVlc INSTANCE = (LibVlc) Native.loadLibrary(Platform.isWindows()? "libvlc" : "vlc", LibVlc.class);
 
     LibVlc SYNC_INSTANCE = (LibVlc) Native.synchronizedLibrary(INSTANCE);
     




More information about the vlc-devel mailing list