summaryrefslogtreecommitdiff
path: root/libavfilter/vsrc_color.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vsrc_color.c')
-rw-r--r--libavfilter/vsrc_color.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavfilter/vsrc_color.c b/libavfilter/vsrc_color.c
index ba10ebf36f..986b41b0f3 100644
--- a/libavfilter/vsrc_color.c
+++ b/libavfilter/vsrc_color.c
@@ -59,13 +59,7 @@ static const AVOption color_options[]= {
{ NULL },
};
-static const AVClass color_class = {
- .class_name = "color",
- .item_name = av_default_item_name,
- .option = color_options,
- .version = LIBAVUTIL_VERSION_INT,
- .category = AV_CLASS_CATEGORY_FILTER,
-};
+AVFILTER_DEFINE_CLASS(color);
static av_cold int color_init(AVFilterContext *ctx, const char *args, void *opaque)
{