aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/udp.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/udp.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/udp.c')
-rw-r--r--libavformat/udp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index d9514f5026..ecac0ef40b 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -144,14 +144,12 @@ static const AVOption options[] = {
static const AVClass udp_class = {
.class_name = "udp",
- .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass udplite_context_class = {
.class_name = "udplite",
- .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};