static int request_frame(AVFilterLink *outlink)

{

    AVFilterContext *ctx = outlink->src;

    TrimContext       *s = ctx->priv;

    int ret;



    s->got_output = 0;

    while (!s->got_output) {

        if (s->eof)

            return AVERROR_EOF;



        ret = ff_request_frame(ctx->inputs[0]);

        if (ret < 0)

            return ret;

    }



    return 0;

}

static int request_frame(AVFilterLink *outlink)

{

    AVFilterContext *ctx = outlink->src;

    TrimContext       *s = ctx->priv;

    int ret;



    s->got_output = 0;

    while (!s->got_output) {

        if (s->eof)

            return AVERROR_EOF;



        ret = ff_request_frame(ctx->inputs[0]);

        if (ret < 0)

            return ret;

    }



    return 0;

}

static int FUNC_0(AVFilterLink *VAR_0)

{

    AVFilterContext *ctx = VAR_0->src;

    TrimContext       *s = ctx->priv;

    int VAR_1;



    s->got_output = 0;

    while (!s->got_output) {

        if (s->eof)

            return AVERROR_EOF;



        VAR_1 = ff_request_frame(ctx->inputs[0]);

        if (VAR_1 < 0)

            return VAR_1;

    }



    return 0;

}

static int FUNC_0(AVFilterLink *VAR_0)
{ AVFilterContext *ctx = VAR_0->src; TrimContext       *s = ctx->priv; int VAR_1; s->got_output = 0; while (!s->got_output) { if (s->eof)
return AVERROR_EOF; VAR_1 = ff_request_frame(ctx->inputs[0]); if (VAR_1 < 0)
return VAR_1; } return 0; }