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>
This commit is contained in:
Paul B Mahol
2012-06-16 12:34:36 +00:00
parent d70a1a507d
commit 54101214d8
25 changed files with 98 additions and 53 deletions

View File

@@ -106,9 +106,11 @@ static const AVOption mandelbrot_options[] = {
};
static const AVClass mandelbrot_class = {
"MBContext",
av_default_item_name,
mandelbrot_options
.class_name = "mandelbrot",
.item_name = av_default_item_name,
.option = mandelbrot_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_FILTER,
};
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)