From e93abe1f406964e6e59f2bf86b0763f3a90f5acf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <u@pkh.me>
Date: Fri, 12 Dec 2014 01:52:02 +0100
Subject: [PATCH] avfilter/uspp: use AVFILTER_DEFINE_CLASS()

---
 libavfilter/vf_uspp.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index 9ddf5df5011..dede413be15 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, },
-- 
GitLab