]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_zscale.c
avfilter/vf_convolution: Fix build failures
[ffmpeg] / libavfilter / vf_zscale.c
index 6e1d36cb4cf23328d2488c5cc0f6f13bb5eda546..f0309272fa90fd7e3363898b29e0ee244771f13b 100644 (file)
@@ -859,13 +859,7 @@ static const AVOption zscale_options[] = {
     { NULL }
 };
 
-static const AVClass zscale_class = {
-    .class_name       = "zscale",
-    .item_name        = av_default_item_name,
-    .option           = zscale_options,
-    .version          = LIBAVUTIL_VERSION_INT,
-    .category         = AV_CLASS_CATEGORY_FILTER,
-};
+AVFILTER_DEFINE_CLASS(zscale);
 
 static const AVFilterPad avfilter_vf_zscale_inputs[] = {
     {