diff mbox series

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

Message ID AM7PR03MB66604DD9BBBE34CB9FE9A2A88FD79@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit bb1ef872a3c364eca3f8d4f624161e7a66932de9
Headers show
Series [FFmpeg-devel,01/39] avfilter/vf_maskedminmax: Simplify init | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 11, 2021, 11:42 p.m. UTC
Use AVFILTER_DEFINE_CLASS_EXT instead.

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

Patch

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[] = {
     {