From 8d0a2180582005e91d9f14ae3dd219a882277c23 Mon Sep 17 00:00:00 2001
From: Matthieu Bouron <matthieu.bouron@stupeflix.com>
Date: Thu, 10 Mar 2016 18:14:53 +0100
Subject: [PATCH] lavc/ffjni: fix uninitialized variable

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

diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c
index 8333050bab4..da136991645 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);
 
-- 
GitLab