OSDN Git Service

lavc/ffjni: fix uninitialized variable
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Thu, 10 Mar 2016 17:14:53 +0000 (18:14 +0100)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Thu, 10 Mar 2016 17:17:28 +0000 (18:17 +0100)
libavcodec/ffjni.c

index 8333050..da13699 100644 (file)
@@ -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);