diff options
Diffstat (limited to 'src/jni/rtp/AudioGroup.cpp')
-rw-r--r-- | src/jni/rtp/AudioGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jni/rtp/AudioGroup.cpp b/src/jni/rtp/AudioGroup.cpp index 5f9cae8..9efd11a 100644 --- a/src/jni/rtp/AudioGroup.cpp +++ b/src/jni/rtp/AudioGroup.cpp @@ -1078,7 +1078,7 @@ JNINativeMethod gMethods[] = { int registerAudioGroup(JNIEnv *env) { - gRandom = open("/dev/urandom", O_RDONLY); + gRandom = open("/dev/urandom", O_RDONLY | O_CLOEXEC); if (gRandom == -1) { ALOGE("urandom: %s", strerror(errno)); return -1; |