aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/options.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 /libavformat/options.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 'libavformat/options.c')
-rw-r--r--libavformat/options.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/options.c b/libavformat/options.c
index 75ec86ce05..e79ae221d9 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -244,7 +244,6 @@ static const AVOption stream_options[] = {
static const AVClass stream_class = {
.class_name = "AVStream",
- .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = stream_options,
};
@@ -384,7 +383,6 @@ static const AVOption stream_group_options[] = {
static const AVClass stream_group_class = {
.class_name = "AVStreamGroup",
- .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = stream_group_options,
.child_next = stream_group_child_next,