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

Matthieu Bouron git at videolan.org
Mon Sep 12 10:57:10 EEST 2016


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at stupeflix.com> | Fri Sep  9 14:27:33 2016 +0200| [025f75c3ad1a4efc013bf3656b78952480fb90f7] | committer: Matthieu Bouron

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=025f75c3ad1a4efc013bf3656b78952480fb90f7
---

 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;
         }
     }
 



More information about the ffmpeg-cvslog mailing list