diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-05-29 11:59:21 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-05-29 11:59:21 +0400 |
commit | 908c045f3aa0e96cb8d357e70e3a38d3e3fdfb18 (patch) | |
tree | a3a72e4b10cf5d4e09fa00721786fa3e61fb3f5a /libavfilter/avfilter.c | |
parent | f0c15ecd457dbaf9ce6a276b252f993b23ec83fd (diff) |
avfilter: use designated initializer for class
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-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 9473c355fe..38be0e613b 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -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) |