summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.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/rtsp.c
parent46775e64f8b34f5e4d09df8458654f9f50626c4b (diff)
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/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 7d1d3a75d4..583f5338e8 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2479,7 +2479,6 @@ static int sdp_read_close(AVFormatContext *s)
static const AVClass sdp_demuxer_class = {
.class_name = "SDP demuxer",
- .item_name = av_default_item_name,
.option = sdp_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -2638,7 +2637,6 @@ fail:
static const AVClass rtp_demuxer_class = {
.class_name = "RTP demuxer",
- .item_name = av_default_item_name,
.option = rtp_options,
.version = LIBAVUTIL_VERSION_INT,
};