[FFmpeg-devel] [PATCH] lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found
Matthieu Bouron
matthieu.bouron at gmail.com
Fri Sep 9 17:40:00 EEST 2016
From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
---
libavcodec/ffjni.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c
index 13eabb0..0597400 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;
}
}
--
2.9.3
More information about the ffmpeg-devel
mailing list