From 54101214d89382a24518f21a30080631a981c798 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 16 Jun 2012 12:34:36 +0000 Subject: lavfi: use designated initializers for AVClass While here: - add missing .version and .category, - make .class_name consistent across filters, - align declarations. Signed-off-by: Paul B Mahol --- libavfilter/af_aformat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/af_aformat.c') diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c index cdd5d12d9c..afe613bdd6 100644 --- a/libavfilter/af_aformat.c +++ b/libavfilter/af_aformat.c @@ -54,11 +54,11 @@ static const AVOption options[] = { }; static const AVClass aformat_class = { - .class_name = "aformat filter", + .class_name = "aformat", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, - .category = AV_CLASS_CATEGORY_FILTER, + .category = AV_CLASS_CATEGORY_FILTER, }; #define PARSE_FORMATS(str, type, list, add_to_list, get_fmt, none, desc) \ -- cgit v1.2.1