[vlc-commits] android/utils: fix warning

Thomas Guillem git at videolan.org
Wed Oct 5 12:16:25 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Oct  5 11:44:30 2016 +0200| [71de36547e80fee2148382ec6ae5e553ddd8a6c2] | committer: Thomas Guillem

android/utils: fix warning

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

 modules/video_output/android/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/android/utils.c b/modules/video_output/android/utils.c
index abd063a..09907b5 100644
--- a/modules/video_output/android/utils.c
+++ b/modules/video_output/android/utils.c
@@ -118,7 +118,7 @@ NativeSurface_getHandle(JNIEnv *p_env, jobject jsurf)
 {
     jclass clz;
     jfieldID fid;
-    intptr_t p_surface_handle = NULL;
+    intptr_t p_surface_handle = 0;
 
     clz = (*p_env)->GetObjectClass(p_env, jsurf);
     if ((*p_env)->ExceptionCheck(p_env))



More information about the vlc-commits mailing list