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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue