Commit 556aab8f authored by Anton Khirnov's avatar Anton Khirnov

lavfi: use designated initializers in avfilter_class

parent aa3c7799
......@@ -320,10 +320,9 @@ static const char *filter_name(void *p)
}
static const AVClass avfilter_class = {
"AVFilter",
filter_name,
NULL,
LIBAVUTIL_VERSION_INT,
.class_name = "AVFilter",
.item_name = filter_name,
.version = LIBAVUTIL_VERSION_INT,
};
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment