[vlc-devel] [PATCH] libvlcjni: Add note about invalid options

Edward Wang edward.c.wang at compdigitec.com
Mon Jan 23 13:22:04 CET 2012


---
 vlc-android/jni/libvlcjni.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index 06f672c..c8b5e01 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -186,6 +186,7 @@ void Java_org_videolan_vlc_android_LibVLC_detachSurface(JNIEnv *env, jobject thi
 
 void Java_org_videolan_vlc_android_LibVLC_nativeInit(JNIEnv *env, jobject thiz, jboolean enable_iomx)
 {
+    /* Don't add any invalid options, otherwise it causes LibVLC to crash */
     const char *argv[] = {
         "-I", "dummy",
         "-vv",
-- 
1.7.5.4




More information about the vlc-devel mailing list