diff options
author | Paul B Mahol | 2012-05-29 07:59:21 +0000 |
---|---|---|
committer | Paul B Mahol | 2012-05-29 07:59:21 +0000 |
commit | 908c045f3aa0e96cb8d357e70e3a38d3e3fdfb18 (patch) | |
tree | a3a72e4b10cf5d4e09fa00721786fa3e61fb3f5a | |
parent | f0c15ecd457dbaf9ce6a276b252f993b23ec83fd (diff) |
avfilter: use designated initializer for class
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-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) |