mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/jni: make global variables static
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
eb96dda5ed
commit
1c61aa1a02
|
@ -34,8 +34,8 @@
|
|||
#include "libavutil/log.h"
|
||||
#include "ffjni.h"
|
||||
|
||||
void *java_vm;
|
||||
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static void *java_vm;
|
||||
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
int av_jni_set_java_vm(void *vm, void *log_ctx)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue