static void process_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)

{

    AVFilterContext *ctx  = inlink->dst;

    ConcatContext *cat    = ctx->priv;

    unsigned in_no = FF_INLINK_IDX(inlink);



    if (in_no < cat->cur_idx) {

        av_log(ctx, AV_LOG_ERROR, "Frame after EOF on input %s\n",

               ctx->input_pads[in_no].name);

        avfilter_unref_buffer(buf);

    } if (in_no >= cat->cur_idx + ctx->nb_outputs) {

        ff_bufqueue_add(ctx, &cat->in[in_no].queue, buf);

    } else {

        push_frame(ctx, in_no, buf);

    }

}

static void process_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)

{

    AVFilterContext *ctx  = inlink->dst;

    ConcatContext *cat    = ctx->priv;

    unsigned in_no = FF_INLINK_IDX(inlink);



    if (in_no < cat->cur_idx) {

        av_log(ctx, AV_LOG_ERROR, "Frame after EOF on input %s\n",

               ctx->input_pads[in_no].name);

        avfilter_unref_buffer(buf);

    } if (in_no >= cat->cur_idx + ctx->nb_outputs) {

        ff_bufqueue_add(ctx, &cat->in[in_no].queue, buf);

    } else {

        push_frame(ctx, in_no, buf);

    }

}

    } if (in_no >= cat->cur_idx + ctx->nb_outputs) {
static void FUNC_0(AVFilterLink *VAR_0, AVFilterBufferRef *VAR_1)

{

    AVFilterContext *ctx  = VAR_0->dst;

    ConcatContext *cat    = ctx->priv;

    unsigned VAR_2 = FF_INLINK_IDX(VAR_0);



    if (VAR_2 < cat->cur_idx) {

        av_log(ctx, AV_LOG_ERROR, "Frame after EOF on input %s\n",

               ctx->input_pads[VAR_2].name);

        avfilter_unref_buffer(VAR_1);

    } if (VAR_2 >= cat->cur_idx + ctx->nb_outputs) {

        ff_bufqueue_add(ctx, &cat->in[VAR_2].queue, VAR_1);

    } else {

        push_frame(ctx, VAR_2, VAR_1);

    }

}

static void FUNC_0(AVFilterLink *VAR_0, AVFilterBufferRef *VAR_1)
{ AVFilterContext *ctx  = VAR_0->dst; ConcatContext *cat    = ctx->priv; unsigned VAR_2 = FF_INLINK_IDX(VAR_0); if (VAR_2 < cat->cur_idx) { av_log(ctx, AV_LOG_ERROR, "Frame after EOF on input %s\n",
ctx->input_pads[VAR_2].name); avfilter_unref_buffer(VAR_1); } if (VAR_2 >= cat->cur_idx + ctx->nb_outputs) { ff_bufqueue_add(ctx, &cat->in[VAR_2].queue, VAR_1); } else { push_frame(ctx, VAR_2, VAR_1); } }