[FFmpeg-cvslog] avfilter/af_biquads: Don't redundantly set AVClass

Andreas Rheinhardt git at videolan.org
Fri Jan 8 07:12:27 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sun Jan  3 18:13:25 2021 +0100| [6fed8a6cb0bd3c0afaaa8b77935fcd162ec06e6d] | committer: Andreas Rheinhardt

avfilter/af_biquads: Don't redundantly set AVClass

It is already set generically in ff_filter_alloc().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

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

 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;                                                           \
 }                                                                       \



More information about the ffmpeg-cvslog mailing list