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/vf_overlay.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libavfilter/vf_overlay.c') diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 2c2275e718..5055f8b1e1 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -104,9 +104,11 @@ static const AVOption overlay_options[] = { }; static const AVClass overlay_class = { - "OverlayContext", - av_default_item_name, - overlay_options + .class_name = "overlay", + .item_name = av_default_item_name, + .option = overlay_options, + .version = LIBAVUTIL_VERSION_INT, + .category = AV_CLASS_CATEGORY_FILTER, }; static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) -- cgit v1.2.3