Skip to content
Snippets Groups Projects
Commit bf23121f authored by zhuobixin's avatar zhuobixin Committed by Geoffrey Métais
Browse files

Update libvlcjni.c


Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent 98fd9572
No related branches found
No related tags found
No related merge requests found
Pipeline #6685 failed with stage
in 2 minutes and 34 seconds
......@@ -491,7 +491,7 @@ void Java_org_videolan_libvlc_LibVLC_nativeSetUserAgent(JNIEnv* env,
psz_name = jname ? (*env)->GetStringUTFChars(env, jname, 0) : NULL;
psz_http = jhttp ? (*env)->GetStringUTFChars(env, jhttp, 0) : NULL;
if (psz_http && psz_http)
if (psz_name && psz_http)
libvlc_set_user_agent(p_obj->u.p_libvlc, psz_name, psz_http);
if (psz_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment