static av_cold int split_init(AVFilterContext *ctx)

{

    SplitContext *s = ctx->priv;

    int i;



    for (i = 0; i < s->nb_outputs; i++) {

        char name[32];

        AVFilterPad pad = { 0 };



        snprintf(name, sizeof(name), "output%d", i);

        pad.type = ctx->filter->inputs[0].type;

        pad.name = av_strdup(name);

        if (!pad.name)

            return AVERROR(ENOMEM);



        ff_insert_outpad(ctx, i, &pad);

    }



    return 0;

}

static av_cold int split_init(AVFilterContext *ctx)

{

    SplitContext *s = ctx->priv;

    int i;



    for (i = 0; i < s->nb_outputs; i++) {

        char name[32];

        AVFilterPad pad = { 0 };



        snprintf(name, sizeof(name), "output%d", i);

        pad.type = ctx->filter->inputs[0].type;

        pad.name = av_strdup(name);

        if (!pad.name)

            return AVERROR(ENOMEM);



        ff_insert_outpad(ctx, i, &pad);

    }



    return 0;

}

    int i;         ff_insert_outpad(ctx, i, &pad);
static av_cold int FUNC_0(AVFilterContext *ctx)

{

    SplitContext *s = ctx->priv;

    int VAR_0;



    for (VAR_0 = 0; VAR_0 < s->nb_outputs; VAR_0++) {

        char name[32];

        AVFilterPad pad = { 0 };



        snprintf(name, sizeof(name), "output%d", VAR_0);

        pad.type = ctx->filter->inputs[0].type;

        pad.name = av_strdup(name);

        if (!pad.name)

            return AVERROR(ENOMEM);



        ff_insert_outpad(ctx, VAR_0, &pad);

    }



    return 0;

}

static av_cold int FUNC_0(AVFilterContext *ctx)
{ SplitContext *s = ctx->priv; int VAR_0; for (VAR_0 = 0; VAR_0 < s->nb_outputs; VAR_0++) { char name[32]; AVFilterPad pad = { 0 }; snprintf(name, sizeof(name), "output%d", VAR_0); pad.type = ctx->filter->inputs[0].type; pad.name = av_strdup(name); if (!pad.name)
return AVERROR(ENOMEM); ff_insert_outpad(ctx, VAR_0, &pad); } return 0; }