Skip to content
Snippets Groups Projects
Commit 556aab8f authored by Anton Khirnov's avatar Anton Khirnov
Browse files

lavfi: use designated initializers in avfilter_class

parent aa3c7799
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment