From 7bcf094c8c1be5eeec60c52e09fd8f32f42cd654 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 16 Jul 2015 04:47:52 +0200 Subject: openmax: fix compile errors (clang) --- src/jogl/native/openmax/jogamp_opengl_util_av_impl_OMXGLMediaPlayer.c | 2 +- src/jogl/native/openmax/omx_tool.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jogl/native/openmax') diff --git a/src/jogl/native/openmax/jogamp_opengl_util_av_impl_OMXGLMediaPlayer.c b/src/jogl/native/openmax/jogamp_opengl_util_av_impl_OMXGLMediaPlayer.c index 3166306ba..fc2fb6ea3 100644 --- a/src/jogl/native/openmax/jogamp_opengl_util_av_impl_OMXGLMediaPlayer.c +++ b/src/jogl/native/openmax/jogamp_opengl_util_av_impl_OMXGLMediaPlayer.c @@ -39,7 +39,7 @@ JNIEXPORT jboolean JNICALL Java_jogamp_opengl_util_av_impl_OMXGLMediaPlayer_init jclass c; if (omxGLMediaPlayerClazz != NULL) { - return; + return JNI_FALSE; } c = (*env)->FindClass(env, ClazzNameOMXGLMediaPlayer); diff --git a/src/jogl/native/openmax/omx_tool.h b/src/jogl/native/openmax/omx_tool.h index 022c56cf9..31abfc5b2 100644 --- a/src/jogl/native/openmax/omx_tool.h +++ b/src/jogl/native/openmax/omx_tool.h @@ -27,6 +27,7 @@ #include #include #include +#include // FIXME: Move all sync/buffer handling to Java - Already done -> GLMediaPlayerImpl #define EGLIMAGE_MAX_BUFFERS 4 -- cgit v1.2.3