From 97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 10 Jun 2017 16:45:06 +0200 Subject: Convert all AVClass struct declarations to designated initializers. --- libavfilter/vf_drawtext.c | 6 +++--- libavfilter/vsrc_movie.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libavfilter') diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 5668c8e..a5e3f91 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -209,9 +209,9 @@ static const char *drawtext_get_name(void *ctx) } static const AVClass drawtext_class = { - "DrawTextContext", - drawtext_get_name, - drawtext_options + .class_name = "DrawTextContext", + .item_name = drawtext_get_name, + .option = drawtext_options, }; #undef __FTERRORS_H__ diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index 7fc9925..aff6e62 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -81,9 +81,9 @@ static const char *movie_get_name(void *ctx) } static const AVClass movie_class = { - "MovieContext", - movie_get_name, - movie_options + .class_name = "MovieContext", + .item_name = movie_get_name, + .option = movie_options, }; static av_cold int movie_init(AVFilterContext *ctx) -- cgit v1.1