X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_cover_rect.c;h=5086a24faa27214af563e74f1944526fc0405094;hb=2c7f7a690fb479631af643d24d3f7edb3271232d;hp=c2020bb39296aac3c55831e25efb42a825d0c20f;hpb=b68b5ec5136da66088b5a8f772c3775b79196eb4;p=ffmpeg diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index c2020bb3929..5086a24faa2 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) {