diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index 9ddf5df5011284389209d5ab2250795acafded8c..dede413be15fb47fb6780db0b668cc715bf8d442 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -65,13 +65,7 @@ static const AVOption uspp_options[] = {
     { NULL }
 };
 
-static const AVClass uspp_class = {
-    .class_name       = "uspp",
-    .item_name        = av_default_item_name,
-    .option           = uspp_options,
-    .version          = LIBAVUTIL_VERSION_INT,
-    .category         = AV_CLASS_CATEGORY_FILTER,
-};
+AVFILTER_DEFINE_CLASS(uspp);
 
 DECLARE_ALIGNED(8, static const uint8_t, dither)[8][8] = {
     {  0*4,  48*4,  12*4,  60*4,   3*4,  51*4,  15*4,  63*4, },