static int config_output(AVFilterLink *outlink)

{

    AVFilterContext *ctx = outlink->src;

    LIBVMAFContext *s = ctx->priv;

    AVFilterLink *mainlink = ctx->inputs[0];

    int ret;



    outlink->w = mainlink->w;

    outlink->h = mainlink->h;

    outlink->time_base = mainlink->time_base;

    outlink->sample_aspect_ratio = mainlink->sample_aspect_ratio;

    outlink->frame_rate = mainlink->frame_rate;

    if ((ret = ff_dualinput_init(ctx, &s->dinput)) < 0)

        return ret;



    return 0;

}

static int config_output(AVFilterLink *outlink)

{

    AVFilterContext *ctx = outlink->src;

    LIBVMAFContext *s = ctx->priv;

    AVFilterLink *mainlink = ctx->inputs[0];

    int ret;



    outlink->w = mainlink->w;

    outlink->h = mainlink->h;

    outlink->time_base = mainlink->time_base;

    outlink->sample_aspect_ratio = mainlink->sample_aspect_ratio;

    outlink->frame_rate = mainlink->frame_rate;

    if ((ret = ff_dualinput_init(ctx, &s->dinput)) < 0)

        return ret;



    return 0;

}

    if ((ret = ff_dualinput_init(ctx, &s->dinput)) < 0)
static int FUNC_0(AVFilterLink *VAR_0)

{

    AVFilterContext *ctx = VAR_0->src;

    LIBVMAFContext *s = ctx->priv;

    AVFilterLink *mainlink = ctx->inputs[0];

    int VAR_1;



    VAR_0->w = mainlink->w;

    VAR_0->h = mainlink->h;

    VAR_0->time_base = mainlink->time_base;

    VAR_0->sample_aspect_ratio = mainlink->sample_aspect_ratio;

    VAR_0->frame_rate = mainlink->frame_rate;

    if ((VAR_1 = ff_dualinput_init(ctx, &s->dinput)) < 0)

        return VAR_1;



    return 0;

}

static int FUNC_0(AVFilterLink *VAR_0)
{ AVFilterContext *ctx = VAR_0->src; LIBVMAFContext *s = ctx->priv; AVFilterLink *mainlink = ctx->inputs[0]; int VAR_1; VAR_0->w = mainlink->w; VAR_0->h = mainlink->h; VAR_0->time_base = mainlink->time_base; VAR_0->sample_aspect_ratio = mainlink->sample_aspect_ratio; VAR_0->frame_rate = mainlink->frame_rate; if ((VAR_1 = ff_dualinput_init(ctx, &s->dinput)) < 0)
return VAR_1; return 0; }