static int poll_frame(AVFilterLink *link)

{

    AVFilterContext   *s = link->src;

    OverlayContext *over = s->priv;

    int ret = avfilter_poll_frame(s->inputs[OVERLAY]);



    if (ret == AVERROR_EOF)

        ret = !!over->overpicref;



    return ret && avfilter_poll_frame(s->inputs[MAIN]);

}

static int poll_frame(AVFilterLink *link)

{

    AVFilterContext   *s = link->src;

    OverlayContext *over = s->priv;

    int ret = avfilter_poll_frame(s->inputs[OVERLAY]);



    if (ret == AVERROR_EOF)

        ret = !!over->overpicref;



    return ret && avfilter_poll_frame(s->inputs[MAIN]);

}

static int poll_frame(AVFilterLink *link)     AVFilterContext   *s = link->src;     OverlayContext *over = s->priv;     int ret = avfilter_poll_frame(s->inputs[OVERLAY]);     if (ret == AVERROR_EOF)         ret = !!over->overpicref;     return ret && avfilter_poll_frame(s->inputs[MAIN]);
static int FUNC_0(AVFilterLink *VAR_0)

{

    AVFilterContext   *s = VAR_0->src;

    OverlayContext *over = s->priv;

    int VAR_1 = avfilter_poll_frame(s->inputs[OVERLAY]);



    if (VAR_1 == AVERROR_EOF)

        VAR_1 = !!over->overpicref;



    return VAR_1 && avfilter_poll_frame(s->inputs[MAIN]);

}

static int FUNC_0(AVFilterLink *VAR_0)
{ AVFilterContext   *s = VAR_0->src; OverlayContext *over = s->priv; int VAR_1 = avfilter_poll_frame(s->inputs[OVERLAY]); if (VAR_1 == AVERROR_EOF)
VAR_1 = !!over->overpicref; return VAR_1 && avfilter_poll_frame(s->inputs[MAIN]); }