Commit 908c045f authored by Paul B Mahol's avatar Paul B Mahol

avfilter: use designated initializer for class

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent f0c15ecd
......@@ -373,10 +373,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