summaryrefslogtreecommitdiff
path: root/libavcodec/mediacodec_wrapper.c
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-06 16:05:46 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-07 10:20:44 +0200
commitcb89fd2334d38d3fffa03da3f4851d3a4fc11f55 (patch)
treefaea0aa191237eb737bd4a0df7c4b82294d57063 /libavcodec/mediacodec_wrapper.c
parent56ef387e21ce608069796d376ac9c6bb0505bc4d (diff)
downloadffmpeg-cb89fd2334d38d3fffa03da3f4851d3a4fc11f55.tar.gz
lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency
Diffstat (limited to 'libavcodec/mediacodec_wrapper.c')
-rw-r--r--libavcodec/mediacodec_wrapper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c
index 381c103930..5567cb4766 100644
--- a/libavcodec/mediacodec_wrapper.c
+++ b/libavcodec/mediacodec_wrapper.c
@@ -70,7 +70,7 @@ static const struct FFJniField jni_amediacodeclist_mapping[] = {
struct JNIAMediaFormatFields {
- jclass clazz;
+ jclass mediaformat_class;
jmethodID init_id;
@@ -91,7 +91,7 @@ struct JNIAMediaFormatFields {
} JNIAMediaFormatFields;
static const struct FFJniField jni_amediaformat_mapping[] = {
- { "android/media/MediaFormat", NULL, NULL, FF_JNI_CLASS, offsetof(struct JNIAMediaFormatFields, clazz), 1 },
+ { "android/media/MediaFormat", NULL, NULL, FF_JNI_CLASS, offsetof(struct JNIAMediaFormatFields, mediaformat_class), 1 },
{ "android/media/MediaFormat", "<init>", "()V", FF_JNI_METHOD, offsetof(struct JNIAMediaFormatFields, init_id), 1 },
@@ -465,7 +465,7 @@ FFAMediaFormat *ff_AMediaFormat_new(void)
goto fail;
}
- format->object = (*env)->NewObject(env, format->jfields.clazz, format->jfields.init_id);
+ format->object = (*env)->NewObject(env, format->jfields.mediaformat_class, format->jfields.init_id);
if (!format->object) {
goto fail;
}