diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-09-09 14:27:33 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-09-12 09:56:37 +0200 |
commit | 025f75c3ad1a4efc013bf3656b78952480fb90f7 (patch) | |
tree | 49accad6467409f7c69281c876448a12e0b4bbc2 /libavcodec/ffjni.c | |
parent | bc7066fd5dcfa33264e9e846284f422224d80dd6 (diff) | |
download | ffmpeg-025f75c3ad1a4efc013bf3656b78952480fb90f7.tar.gz |
lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found
Diffstat (limited to 'libavcodec/ffjni.c')
-rw-r--r-- | libavcodec/ffjni.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c index 13eabb0033..0597400ba6 100644 --- a/libavcodec/ffjni.c +++ b/libavcodec/ffjni.c @@ -352,6 +352,8 @@ int ff_jni_init_jfields(JNIEnv *env, void *jfields, const struct FFJniField *jfi ret = AVERROR(EINVAL); goto done; } + + ret = 0; } } |