Unified · Split
| @@ -399,15 +399,15 @@ static const AVOption asuperpass_asuperstop_options[] = { · 398 unmodified lines | ||
| 399 | 399 | { NULL } |
| 400 | 400 | }; |
| 401 | 401 | |
| 402 | −#define asuperpass_options asuperpass_asuperstop_options | |
| 403 | −AVFILTER_DEFINE_CLASS(asuperpass); | |
| 402 | +AVFILTER_DEFINE_CLASS_EXT(asuperpass_asuperstop, "asuperpass/asuperstop", | |
| 403 | + asuperpass_asuperstop_options); | |
| 404 | 404 | |
| 405 | 405 | const AVFilter ff_af_asuperpass = { |
| 406 | 406 | .name = "asuperpass", |
| 407 | 407 | .description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-pass filter."), |
| 408 | + .priv_class = &asuperpass_asuperstop_class, | |
| 408 | 409 | .query_formats = query_formats, |
| 409 | 410 | .priv_size = sizeof(ASuperCutContext), |
| 410 | − .priv_class = &asuperpass_class, | |
| 411 | 411 | .uninit = uninit, |
| 412 | 412 | FILTER_INPUTS(inputs), |
| 413 | 413 | FILTER_OUTPUTS(outputs), |
| @@ -416,15 +416,12 @@ const AVFilter ff_af_asuperpass = { · 2 unmodified lines | ||
| 416 | 416 | AVFILTER_FLAG_SLICE_THREADS, |
| 417 | 417 | }; |
| 418 | 418 | |
| 419 | −#define asuperstop_options asuperpass_asuperstop_options | |
| 420 | −AVFILTER_DEFINE_CLASS(asuperstop); | |
| 421 | − | |
| 422 | 419 | const AVFilter ff_af_asuperstop = { |
| 423 | 420 | .name = "asuperstop", |
| 424 | 421 | .description = NULL_IF_CONFIG_SMALL("Apply high order Butterworth band-stop filter."), |
| 422 | + .priv_class = &asuperpass_asuperstop_class, | |
| 425 | 423 | .query_formats = query_formats, |
| 426 | 424 | .priv_size = sizeof(ASuperCutContext), |
| 427 | − .priv_class = &asuperstop_class, | |
| 428 | 425 | .uninit = uninit, |
| 429 | 426 | FILTER_INPUTS(inputs), |
| 430 | 427 | FILTER_OUTPUTS(outputs), |