[FFmpeg-devel] [PATCH 15/16] avfilter/af_biquads: Don't redundantly set AVClass

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Jan 4 02:28:15 EET 2021


It is already set generically in ff_filter_alloc().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavfilter/af_biquads.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 4774dfc5b6..4a09f8204a 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -873,7 +873,6 @@ AVFILTER_DEFINE_CLASS(name_);                                           \
 static av_cold int name_##_init(AVFilterContext *ctx)                   \
 {                                                                       \
     BiquadsContext *s = ctx->priv;                                      \
-    s->class = &name_##_class;                                          \
     s->filter_type = name_;                                             \
     return 0;                                                           \
 }                                                                       \
-- 
2.25.1



More information about the ffmpeg-devel mailing list