From 7ff5a345a46eb76c6acfb9368a1eaec5688b3221 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 2 Jul 2015 09:49:26 +0000 Subject: avfilter: use AVFILTER_DEFINE_CLASS() Signed-off-by: Paul B Mahol --- libavfilter/vf_cover_rect.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libavfilter/vf_cover_rect.c') diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index c2020bb392..5086a24faa 100644 --- a/libavfilter/vf_cover_rect.c +++ b/libavfilter/vf_cover_rect.c @@ -53,13 +53,7 @@ static const AVOption cover_rect_options[] = { { NULL } }; -static const AVClass cover_rect_class = { - .class_name = "cover_rect", - .item_name = av_default_item_name, - .option = cover_rect_options, - .version = LIBAVUTIL_VERSION_INT, - .category = AV_CLASS_CATEGORY_FILTER, -}; +AVFILTER_DEFINE_CLASS(cover_rect); static int query_formats(AVFilterContext *ctx) { -- cgit v1.2.3