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