aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/libav/ffmpeg_static.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-08-31 02:31:13 +0200
committerSven Gothel <[email protected]>2013-08-31 02:31:13 +0200
commit1693604b4daae4571069b58bdc863516b95999a6 (patch)
tree5af580e91f569c91a6a41d69564c390bda48f893 /src/jogl/native/libav/ffmpeg_static.c
parentf5bc467cfa7deebabfdab6335c6c3704bc610609 (diff)
FFMPEG/GLMediaPlayer: Fix compiler errors w/ new MingW 4.8.1: 'strsafe.h' -> don't use tchar.h; Fix compiler warning: Add missing (intptr_t) cast.
Diffstat (limited to 'src/jogl/native/libav/ffmpeg_static.c')
-rw-r--r--src/jogl/native/libav/ffmpeg_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/native/libav/ffmpeg_static.c b/src/jogl/native/libav/ffmpeg_static.c
index f079ee841..be5bc00b7 100644
--- a/src/jogl/native/libav/ffmpeg_static.c
+++ b/src/jogl/native/libav/ffmpeg_static.c
@@ -46,7 +46,7 @@ typedef unsigned (APIENTRYP AV_GET_VERSION)(void);
JNIEXPORT jint JNICALL Java_jogamp_opengl_util_av_impl_FFMPEGStaticNatives_getAvVersion0
(JNIEnv *env, jclass clazz, jlong func) {
if( 0 != func ) {
- return (jint) ((AV_GET_VERSION)func)();
+ return (jint) ((AV_GET_VERSION) (intptr_t) func)();
} else {
return 0;
}