diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-06-10 16:45:06 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-06-12 11:01:10 +0200 |
commit | 97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 (patch) | |
tree | e68f3a7dd9aa9b56cf6920890fe2f4caec6b98cd /libavfilter | |
parent | 98ea98069b40c34aa7b762096f8f380012a7dd84 (diff) | |
download | ffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.zip ffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.tar.gz |
Convert all AVClass struct declarations to designated initializers.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_drawtext.c | 6 | ||||
-rw-r--r-- | libavfilter/vsrc_movie.c | 6 |
2 files changed, 6 insertions, 6 deletions
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) |