ffmpeg | branch: master | Matthieu Bouron <matthieu.bou...@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;
         }
     }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to