]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_cover_rect.c
avfilter: use AVFILTER_DEFINE_CLASS()
[ffmpeg] / libavfilter / vf_cover_rect.c
index c2020bb39296aac3c55831e25efb42a825d0c20f..5086a24faa27214af563e74f1944526fc0405094 100644 (file)
@@ -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)
 {