diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-12-22 14:47:15 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-12-22 15:12:33 +0100 |
commit | 0c6203c97a99f69dbaa6e4011d48c331e1111f5e (patch) | |
tree | 68cce77911b40e5d74047a5d02b5377571a8d3d9 /libavcodec/mediacodec_wrapper.c | |
parent | 46775e64f8b34f5e4d09df8458654f9f50626c4b (diff) | |
download | ffmpeg-0c6203c97a99f69dbaa6e4011d48c331e1111f5e.tar.gz |
all: Don't set AVClass.item_name to its default value
Unnecessary since acf63d5350adeae551d412db699f8ca03f7e76b9;
also avoids relocations.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mediacodec_wrapper.c')
-rw-r--r-- | libavcodec/mediacodec_wrapper.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 0880ddd3ef..f2fb392329 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -136,7 +136,6 @@ static const struct FFJniField jni_amediaformat_mapping[] = { static const AVClass amediaformat_class = { .class_name = "amediaformat", - .item_name = av_default_item_name, .version = LIBAVUTIL_VERSION_INT, }; @@ -256,7 +255,6 @@ static const struct FFJniField jni_amediacodec_mapping[] = { static const AVClass amediacodec_class = { .class_name = "amediacodec", - .item_name = av_default_item_name, .version = LIBAVUTIL_VERSION_INT, }; @@ -1989,13 +1987,11 @@ static const FFAMediaCodec media_codec_ndk; static const AVClass amediaformat_ndk_class = { .class_name = "amediaformat_ndk", - .item_name = av_default_item_name, .version = LIBAVUTIL_VERSION_INT, }; static const AVClass amediacodec_ndk_class = { .class_name = "amediacodec_ndk", - .item_name = av_default_item_name, .version = LIBAVUTIL_VERSION_INT, }; |