[FFmpeg-cvslog] avfilter/uspp: use AVFILTER_DEFINE_CLASS()

Clément Bœsch git at videolan.org
Fri Dec 12 01:57:05 CET 2014


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Dec 12 01:52:02 2014 +0100| [e93abe1f406964e6e59f2bf86b0763f3a90f5acf] | committer: Clément Bœsch

avfilter/uspp: use AVFILTER_DEFINE_CLASS()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e93abe1f406964e6e59f2bf86b0763f3a90f5acf
---

 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 9ddf5df..dede413 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, },



More information about the ffmpeg-cvslog mailing list