diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-16 16:34:36 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-17 15:10:10 +0400 |
commit | 54101214d89382a24518f21a30080631a981c798 (patch) | |
tree | ea0a997aaf725ecb53b5df15d5496f48c556fd10 /libavfilter/vf_blackdetect.c | |
parent | d70a1a507d9e6d504aa76b56b3fdea5197011b2d (diff) |
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_blackdetect.c')
-rw-r--r-- | libavfilter/vf_blackdetect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c index abb22bdfb3..b5a1fadafc 100644 --- a/libavfilter/vf_blackdetect.c +++ b/libavfilter/vf_blackdetect.c @@ -58,9 +58,11 @@ static const AVOption blackdetect_options[] = { }; static const AVClass blackdetect_class = { - .class_name = "BlackDetectContext", + .class_name = "blackdetect", .item_name = av_default_item_name, .option = blackdetect_options, + .version = LIBAVUTIL_VERSION_INT, + .category = AV_CLASS_CATEGORY_FILTER, }; #define YUVJ_FORMATS \ |