am be8fbb8f: Merge "Remove unused field from MediaMuxer"

* commit 'be8fbb8fb63fddac2310dfbafa2594ed165b16b1':
  Remove unused field from MediaMuxer
This commit is contained in:
Narayan Kamath
2013-12-18 10:14:45 -08:00
committed by Android Git Automerger
2 changed files with 0 additions and 9 deletions

View File

@@ -65,8 +65,6 @@ import java.util.Map;
final public class MediaMuxer {
private long mNativeContext;
static {
System.loadLibrary("media_jni");
}

View File

@@ -31,7 +31,6 @@
namespace android {
struct fields_t {
jfieldID context;
jmethodID arrayID;
};
@@ -252,12 +251,6 @@ int register_android_media_MediaMuxer(JNIEnv *env) {
int err = AndroidRuntime::registerNativeMethods(env,
"android/media/MediaMuxer", gMethods, NELEM(gMethods));
jclass clazz = env->FindClass("android/media/MediaMuxer");
CHECK(clazz != NULL);
gFields.context = env->GetFieldID(clazz, "mNativeContext", "J");
CHECK(gFields.context != NULL);
jclass byteBufClass = env->FindClass("java/nio/ByteBuffer");
CHECK(byteBufClass != NULL);