lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found

This commit is contained in:
Matthieu Bouron 2016-09-09 14:27:33 +02:00
parent bc7066fd5d
commit 025f75c3ad
1 changed files with 2 additions and 0 deletions

View File

@ -352,6 +352,8 @@ int ff_jni_init_jfields(JNIEnv *env, void *jfields, const struct FFJniField *jfi
ret = AVERROR(EINVAL);
goto done;
}
ret = 0;
}
}