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