aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-12-22 14:47:15 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-12-22 15:12:33 +0100
commit0c6203c97a99f69dbaa6e4011d48c331e1111f5e (patch)
tree68cce77911b40e5d74047a5d02b5377571a8d3d9 /libavcodec/libx264.c
parent46775e64f8b34f5e4d09df8458654f9f50626c4b (diff)
downloadffmpeg-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/libx264.c')
-rw-r--r--libavcodec/libx264.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 182e20f622..5ea9540d30 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -1462,7 +1462,6 @@ static const FFCodecDefault x264_defaults[] = {
#if CONFIG_LIBX264_ENCODER
static const AVClass x264_class = {
.class_name = "libx264",
- .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -1504,7 +1503,6 @@ FFCodec ff_libx264_encoder = {
#if CONFIG_LIBX264RGB_ENCODER
static const AVClass rgbclass = {
.class_name = "libx264rgb",
- .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -1536,7 +1534,6 @@ const FFCodec ff_libx264rgb_encoder = {
#if CONFIG_LIBX262_ENCODER
static const AVClass X262_class = {
.class_name = "libx262",
- .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};