lavfi/join: make use of AVFILTER_DEFINE_CLASS
authorPaul B Mahol <onemda@gmail.com>
Mon, 27 May 2013 11:10:39 +0000 (11:10 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 27 May 2013 11:10:39 +0000 (11:10 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_join.c

index b8e9e85c4faec5ae6fc7899c9a9919c6a117ded5..11978bd97ed319323309d853347a232d3f13ceb4 100644 (file)
@@ -77,12 +77,7 @@ static const AVOption join_options[] = {
     { NULL },
 };
 
-static const AVClass join_class = {
-    .class_name = "join filter",
-    .item_name  = av_default_item_name,
-    .option     = join_options,
-    .version    = LIBAVUTIL_VERSION_INT,
-};
+AVFILTER_DEFINE_CLASS(join);
 
 static int filter_frame(AVFilterLink *link, AVFrame *frame)
 {