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 /libavcodec/mfenc.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 'libavcodec/mfenc.c')
-rw-r--r-- | libavcodec/mfenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c index 3c50a6c074..8bb6f1d38d 100644 --- a/libavcodec/mfenc.c +++ b/libavcodec/mfenc.c @@ -1226,7 +1226,6 @@ static int mf_init(AVCodecContext *avctx) #define MF_ENCODER(MEDIATYPE, NAME, ID, OPTS, FMTS, CAPS) \ static const AVClass ff_ ## NAME ## _mf_encoder_class = { \ .class_name = #NAME "_mf", \ - .item_name = av_default_item_name, \ .option = OPTS, \ .version = LIBAVUTIL_VERSION_INT, \ }; \ |