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:
parent
a8bc79c3fd
commit
08bebeb1be
363 changed files with 408 additions and 0 deletions
|
|
@ -484,6 +484,7 @@ static const AVOption options[] = {
|
|||
|
||||
static const AVClass async_context_class = {
|
||||
.class_name = "Async",
|
||||
.item_name = av_default_item_name,
|
||||
.option = options,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
|
@ -585,6 +586,7 @@ static const AVOption async_test_options[] = {
|
|||
|
||||
static const AVClass async_test_context_class = {
|
||||
.class_name = "Async-Test",
|
||||
.item_name = av_default_item_name,
|
||||
.option = async_test_options,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue