diff options
-rw-r--r-- | voip/jni/rtp/AudioGroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/voip/jni/rtp/AudioGroup.cpp b/voip/jni/rtp/AudioGroup.cpp index 4db5738..1139577 100644 --- a/voip/jni/rtp/AudioGroup.cpp +++ b/voip/jni/rtp/AudioGroup.cpp @@ -1008,7 +1008,7 @@ error: delete stream; delete codec; close(socket); - env->SetIntField(thiz, gNative, NULL); + env->SetIntField(thiz, gNative, 0); } void remove(JNIEnv *env, jobject thiz, jint socket) @@ -1017,7 +1017,7 @@ void remove(JNIEnv *env, jobject thiz, jint socket) if (group) { if (socket == -1 || !group->remove(socket)) { delete group; - env->SetIntField(thiz, gNative, NULL); + env->SetIntField(thiz, gNative, 0); } } } |