int av_buffersink_poll_frame(AVFilterContext *ctx)

{

    BufferSinkContext *buf = ctx->priv;

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



    av_assert0(!strcmp(ctx->filter->name, "buffersink") || !strcmp(ctx->filter->name, "abuffersink"));



    return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink);

}

int av_buffersink_poll_frame(AVFilterContext *ctx)

{

    BufferSinkContext *buf = ctx->priv;

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



    av_assert0(!strcmp(ctx->filter->name, "buffersink") || !strcmp(ctx->filter->name, "abuffersink"));



    return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink);

}

    av_assert0(!strcmp(ctx->filter->name, "buffersink") || !strcmp(ctx->filter->name, "abuffersink"));     av_assert0(!strcmp(ctx->filter->name, "buffersink") || !strcmp(ctx->filter->name, "abuffersink"));
int FUNC_0(AVFilterContext *VAR_0)

{

    BufferSinkContext *buf = VAR_0->priv;

    AVFilterLink *inlink = VAR_0->inputs[0];



    av_assert0(!strcmp(VAR_0->filter->name, "buffersink") || !strcmp(VAR_0->filter->name, "abuffersink"));



    return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink);

}

int FUNC_0(AVFilterContext *VAR_0)
{ BufferSinkContext *buf = VAR_0->priv; AVFilterLink *inlink = VAR_0->inputs[0]; av_assert0(!strcmp(VAR_0->filter->name, "buffersink") || !strcmp(VAR_0->filter->name, "abuffersink")); return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink); }