* commit '4dd5c37711f370af4c507eedd4c7d27ec35a2d64': Remove unused field from MediaMuxer
This commit is contained in:
@ -65,8 +65,6 @@ import java.util.Map;
|
||||
|
||||
final public class MediaMuxer {
|
||||
|
||||
private long mNativeContext;
|
||||
|
||||
static {
|
||||
System.loadLibrary("media_jni");
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user