History

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 0c6203c97a99f69dbaa6e4011d48c331e1111f5e.

Anton Khirnov committed 2 years ago

Commit 08bebeb1 parent a8bc79c363 files · +408 −0Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 363 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+1−0
@@ -61,6 +61,7 @@ static const AVOption filtergraph_options[] = { · 60 unmodified lines
61 61
62static const AVClass filtergraph_class = {62static const AVClass filtergraph_class = {
63 .class_name = "AVFilterGraph",63 .class_name = "AVFilterGraph",
64 .item_name = av_default_item_name,
64 .version = LIBAVUTIL_VERSION_INT,65 .version = LIBAVUTIL_VERSION_INT,
65 .option = filtergraph_options,66 .option = filtergraph_options,
66 .category = AV_CLASS_CATEGORY_FILTER,67 .category = AV_CLASS_CATEGORY_FILTER,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t