src/core/android/SDL_android.c
changeset 10358 f46d780b6685
parent 10296 80190c2a271d
child 10672 10fb0ebc4fbf
     1.1 --- a/src/core/android/SDL_android.c	Sun Sep 18 19:22:09 2016 -0300
     1.2 +++ b/src/core/android/SDL_android.c	Wed Sep 21 23:06:26 2016 +0200
     1.3 @@ -718,10 +718,8 @@
     1.4      }
     1.5      #else
     1.6      if (captureBuffer16Bit) {
     1.7 -        const jint len = (*env)->GetArrayLength(env, (jshortArray)captureBuffer);
     1.8          (*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadShortBuffer, (jshortArray)captureBuffer, JNI_FALSE);
     1.9      } else {
    1.10 -        const jint len = (*env)->GetArrayLength(env, (jbyteArray)captureBuffer);
    1.11          (*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadByteBuffer, (jbyteArray)captureBuffer, JNI_FALSE);
    1.12      }
    1.13      #endif