mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found
This commit is contained in:
parent
bc7066fd5d
commit
025f75c3ad
|
@ -352,6 +352,8 @@ int ff_jni_init_jfields(JNIEnv *env, void *jfields, const struct FFJniField *jfi
|
||||||
ret = AVERROR(EINVAL);
|
ret = AVERROR(EINVAL);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue