[FFmpeg-devel] [PATCH 18/38] avfilter/vf_blend: Don't redefine options name

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Sep 12 02:42:24 EEST 2021


Use AVFILTER_DEFINE_CLASS_EXT instead.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavfilter/vf_blend.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c
index 84f1e9f5bb..73fdea3c79 100644
--- a/libavfilter/vf_blend.c
+++ b/libavfilter/vf_blend.c
@@ -943,8 +943,7 @@ static int tblend_filter_frame(AVFilterLink *inlink, AVFrame *frame)
     return 0;
 }
 
-#define tblend_options blend_options
-AVFILTER_DEFINE_CLASS(tblend);
+AVFILTER_DEFINE_CLASS_EXT(tblend, "tblend", blend_options);
 
 static const AVFilterPad tblend_inputs[] = {
     {
-- 
2.30.2



More information about the ffmpeg-devel mailing list