From 556aab8f11b045a21182eee32413aa78d5c8539b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 25 Feb 2013 12:09:01 +0100 Subject: [PATCH] lavfi: use designated initializers in avfilter_class --- libavfilter/avfilter.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index af9d9eeb42..4985ce9579 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -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)