History

lavfi/split: use AVFILTER_DEFINE_CLASS to define class

Stefano Sabatini committed 13 years ago

Commit ba32afd1 parent bec402b1 file · +4 −12Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/split.c+4−12
@@ -97,19 +97,11 @@ static const AVOption options[] = { · 96 unmodified lines
97 { NULL },97 { NULL },
98};98};
99 99
100static const AVClass split_class = {100#define split_options options
101 .class_name = "split",101AVFILTER_DEFINE_CLASS(split);
102 .item_name = av_default_item_name,
103 .option = options,
104 .version = LIBAVUTIL_VERSION_INT,
105};
106 102
107static const AVClass asplit_class = {103#define asplit_options options
108 .class_name = "asplit",104AVFILTER_DEFINE_CLASS(asplit);
109 .item_name = av_default_item_name,
110 .option = options,
111 .version = LIBAVUTIL_VERSION_INT,
112};
113 105
114static const AVFilterPad avfilter_vf_split_inputs[] = {106static const AVFilterPad avfilter_vf_split_inputs[] = {
115 {107 {

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