the object pointer is null in the handler, so use null here
authorFilippo Carone <littlejohn@videolan.org>
Sun, 20 May 2007 14:12:57 +0000 (14:12 +0000)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 20 May 2007 14:12:57 +0000 (14:12 +0000)
src/callback-jni.cc

index 4f9a3d4..4c8b1e9 100644 (file)
@@ -59,7 +59,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Audio__1install_1callback( JNIEnv
     libvlc_callback_register_for_event( ( libvlc_instance_t* ) instance,
                                        VOLUME_CHANGED,
                                        volumeChangedCallback,
-                                       &_this,
+                                       NULL,
                                        exception );
     CHECK_EXCEPTION_FREE ;
 }