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>
This commit is contained in:
Andreas Rheinhardt
2023-12-22 14:47:15 +01:00
parent 46775e64f8
commit 0c6203c97a
363 changed files with 0 additions and 408 deletions

View File

@@ -120,7 +120,6 @@ enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev)
static const AVClass hwdevice_ctx_class = {
.class_name = "AVHWDeviceContext",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -222,7 +221,6 @@ fail:
static const AVClass hwframe_ctx_class = {
.class_name = "AVHWFramesContext",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};