[FFmpeg-cvslog] lavfi/join: make use of AVFILTER_DEFINE_CLASS

Paul B Mahol git at videolan.org
Mon May 27 14:44:37 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon May 27 11:10:39 2013 +0000| [5fe5bde60a88db19d20adc16888dd3812c348f15] | committer: Paul B Mahol

lavfi/join: make use of AVFILTER_DEFINE_CLASS

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

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

diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c
index b8e9e85..11978bd 100644
--- a/libavfilter/af_join.c
+++ b/libavfilter/af_join.c
@@ -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)
 {



More information about the ffmpeg-cvslog mailing list