[FFmpeg-devel] [PATCH] avfilter: add (a)separate filters

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Aug 2 05:59:37 EEST 2021


Paul B Mahol:
> +
> +static av_cold int init(AVFilterContext *ctx, int type)

type should be an enum AVMediaType.

> +static av_cold void uninit(AVFilterContext *ctx)
> +{
> +    SeparateContext *s = ctx->priv;
> +
> +    av_freep(&s->points);
> +
> +    for (int i = 0; i < ctx->nb_outputs; i++)

AVFilterContext.nb_outputs is unsigned.

> +        av_freep(&ctx->output_pads[i].name);
> +}
> +


More information about the ffmpeg-devel mailing list