diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-25 12:09:01 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-16 05:33:06 +0100 |
commit | 556aab8f11b045a21182eee32413aa78d5c8539b (patch) | |
tree | b5de33a7de5ac3173993277b552bbd98c715e9eb | |
parent | aa3c77998404cc32233cb76e961ca27db8565459 (diff) | |
download | ffmpeg-556aab8f11b045a21182eee32413aa78d5c8539b.tar.gz |
lavfi: use designated initializers in avfilter_class
-rw-r--r-- | libavfilter/avfilter.c | 7 |
1 files 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) |