summaryrefslogtreecommitdiff
path: root/libavfilter/vf_cover_rect.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_cover_rect.c')
-rw-r--r--libavfilter/vf_cover_rect.c8
1 files changed, 1 insertions, 7 deletions
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)
{