diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-16 12:34:36 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-17 11:10:10 +0000 |
commit | 54101214d89382a24518f21a30080631a981c798 (patch) | |
tree | ea0a997aaf725ecb53b5df15d5496f48c556fd10 /libavfilter/vsrc_life.c | |
parent | d70a1a507d9e6d504aa76b56b3fdea5197011b2d (diff) | |
download | ffmpeg-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/vsrc_life.c')
-rw-r--r-- | libavfilter/vsrc_life.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index 756ad687b6..5b4dc99576 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -98,9 +98,11 @@ static const AVOption life_options[] = { }; static const AVClass life_class = { - "LifeContext", - av_default_item_name, - life_options + .class_name = "life", + .item_name = av_default_item_name, + .option = life_options, + .version = LIBAVUTIL_VERSION_INT, + .category = AV_CLASS_CATEGORY_FILTER, }; static int parse_rule(uint16_t *born_rule, uint16_t *stay_rule, |