diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-12-22 14:47:15 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-12-22 15:12:33 +0100 |
commit | 0c6203c97a99f69dbaa6e4011d48c331e1111f5e (patch) | |
tree | 68cce77911b40e5d74047a5d02b5377571a8d3d9 /libavformat/rawvideodec.c | |
parent | 46775e64f8b34f5e4d09df8458654f9f50626c4b (diff) | |
download | ffmpeg-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/rawvideodec.c')
-rw-r--r-- | libavformat/rawvideodec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rawvideodec.c b/libavformat/rawvideodec.c index 514e4e044f..2b81dad86e 100644 --- a/libavformat/rawvideodec.c +++ b/libavformat/rawvideodec.c @@ -144,7 +144,6 @@ static const AVOption rawvideo_options[] = { static const AVClass rawvideo_demuxer_class = { .class_name = "rawvideo demuxer", - .item_name = av_default_item_name, .option = rawvideo_options, .version = LIBAVUTIL_VERSION_INT, }; @@ -163,7 +162,6 @@ const AVInputFormat ff_rawvideo_demuxer = { static const AVClass bitpacked_demuxer_class = { .class_name = "bitpacked demuxer", - .item_name = av_default_item_name, .option = rawvideo_options, .version = LIBAVUTIL_VERSION_INT, }; @@ -184,7 +182,6 @@ const AVInputFormat ff_bitpacked_demuxer = { static const AVClass v210_demuxer_class = { .class_name = "v210(x) demuxer", - .item_name = av_default_item_name, .option = rawvideo_options + 1, .version = LIBAVUTIL_VERSION_INT, }; |