Revert "all: Don't set AVClass.item_name to its default value"

Some callers assume that item_name is always set, so this may be
considered an API break.

This reverts commit 0c6203c97a.
This commit is contained in:
Anton Khirnov
2024-01-19 13:33:28 +01:00
parent a8bc79c3fd
commit 08bebeb1be
363 changed files with 408 additions and 0 deletions

View File

@@ -336,6 +336,7 @@ static const AVFilterPad stack_outputs[] = {
#define DEFINE_STACK_FILTER(category, api, capi, filter_flags) \
static const AVClass category##_##api##_class = { \
.class_name = #category "_" #api, \
.item_name = av_default_item_name, \
.option = category##_##api##_options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \