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

pull/233/head
Matthieu Bouron 8 years ago
parent bc7066fd5d
commit 025f75c3ad
  1. 2
      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;
}
}

Loading…
Cancel
Save