aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hashenc.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/hashenc.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/hashenc.c')
-rw-r--r--libavformat/hashenc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/hashenc.c b/libavformat/hashenc.c
index 17ee2f7e9f..a7ed15dfbd 100644
--- a/libavformat/hashenc.c
+++ b/libavformat/hashenc.c
@@ -52,7 +52,6 @@ static const AVOption hash_streamhash_options[] = {
static const AVClass hash_streamhashenc_class = {
.class_name = "(stream) hash muxer",
- .item_name = av_default_item_name,
.option = hash_streamhash_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -192,7 +191,6 @@ const FFOutputFormat ff_hash_muxer = {
#if CONFIG_MD5_MUXER
static const AVClass md5enc_class = {
.class_name = "MD5 muxer",
- .item_name = av_default_item_name,
.option = md5_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -320,7 +318,6 @@ static int framehash_write_packet(struct AVFormatContext *s, AVPacket *pkt)
#if CONFIG_FRAMEHASH_MUXER
static const AVClass framehash_class = {
.class_name = "frame hash muxer",
- .item_name = av_default_item_name,
.option = framehash_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -344,7 +341,6 @@ const FFOutputFormat ff_framehash_muxer = {
#if CONFIG_FRAMEMD5_MUXER
static const AVClass framemd5_class = {
.class_name = "frame MD5 muxer",
- .item_name = av_default_item_name,
.option = framemd5_options,
.version = LIBAVUTIL_VERSION_INT,
};