aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_fade.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-16 12:34:36 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-17 11:10:10 +0000
commit54101214d89382a24518f21a30080631a981c798 (patch)
treeea0a997aaf725ecb53b5df15d5496f48c556fd10 /libavfilter/vf_fade.c
parentd70a1a507d9e6d504aa76b56b3fdea5197011b2d (diff)
downloadffmpeg-54101214d89382a24518f21a30080631a981c798.tar.gz
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 <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_fade.c')
-rw-r--r--libavfilter/vf_fade.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c
index ed27a5310f..c73e99f71f 100644
--- a/libavfilter/vf_fade.c
+++ b/libavfilter/vf_fade.c
@@ -72,9 +72,11 @@ static const AVOption fade_options[] = {
};
static const AVClass fade_class = {
- "FadeContext",
- av_default_item_name,
- fade_options
+ .class_name = "fade",
+ .item_name = av_default_item_name,
+ .option = fade_options,
+ .version = LIBAVUTIL_VERSION_INT,
+ .category = AV_CLASS_CATEGORY_FILTER,
};
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)