[Android] libvlcjni: rework exceptions throwing from jni
Thomas Guillem
git at videolan.org
Fri Aug 24 09:20:55 CEST 2018
vlc-android | branch: 4.0-glrenderer | Thomas Guillem <thomas at gllm.fr> | Wed Aug 22 10:12:44 2018 +0200| [59a49e30c243da5715080eaee9beae95d0f6cb9d] | committer: Thomas Guillem
libvlcjni: rework exceptions throwing from jni
Throw OutOfMemoryError instead of IllegalStateException for allocation errors.
> https://code.videolan.org/videolan/vlc-android/commit/59a49e30c243da5715080eaee9beae95d0f6cb9d
---
libvlc/jni/libvlcjni-dialog.c | 4 ++--
libvlc/jni/libvlcjni-media.c | 15 +++++++++------
libvlc/jni/libvlcjni-mediadiscoverer.c | 5 +++--
libvlc/jni/libvlcjni-mediaplayer.c | 26 +++++++++++++++-----------
libvlc/jni/libvlcjni-rendererdiscoverer.c | 4 ++--
libvlc/jni/libvlcjni-vlcobject.c | 13 ++++++++-----
libvlc/jni/libvlcjni-vlcobject.h | 27 ++++++++++++++++++++++-----
libvlc/jni/libvlcjni.c | 8 ++++++--
libvlc/jni/utils.h | 3 +++
9 files changed, 70 insertions(+), 35 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/59a49e30c243da5715080eaee9beae95d0f6cb9d
More information about the Android
mailing list