[FFmpeg-cvslog] lavc/ffjni: fix uninitialized variable

Matthieu Bouron git at videolan.org
Thu Mar 10 18:18:14 CET 2016


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at stupeflix.com> | Thu Mar 10 18:14:53 2016 +0100| [8d0a2180582005e91d9f14ae3dd219a882277c23] | committer: Matthieu Bouron

lavc/ffjni: fix uninitialized variable

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

 libavcodec/ffjni.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c
index 8333050..da13699 100644
--- a/libavcodec/ffjni.c
+++ b/libavcodec/ffjni.c
@@ -227,7 +227,7 @@ int ff_jni_exception_get_summary(JNIEnv *env, jthrowable exception, char **error
     jclass exception_class = NULL;
     jmethodID get_message_id = NULL;
 
-    jstring string;
+    jstring string = NULL;
 
     av_bprint_init(&bp, 0, AV_BPRINT_SIZE_AUTOMATIC);
 



More information about the ffmpeg-cvslog mailing list