It is already set generically in ff_filter_alloc().
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -873,7 +873,6 @@ AVFILTER_DEFINE_CLASS(name_); \ · 872 unmodified lines | |||
| 873 | static av_cold int name_##_init(AVFilterContext *ctx) \ | 873 | static av_cold int name_##_init(AVFilterContext *ctx) \ |
| 874 | { \ | 874 | { \ |
| 875 | BiquadsContext *s = ctx->priv; \ | 875 | BiquadsContext *s = ctx->priv; \ |
| 876 | s->class = &name_##_class; \ | ||
| 877 | s->filter_type = name_; \ | 876 | s->filter_type = name_; \ |
| 878 | return 0; \ | 877 | return 0; \ |
| 879 | } \ | 878 | } \ |