static int request_frame(AVFilterLink *outlink)

{

    AVFilterBufferRef *outpicref;

    MovieContext *movie = outlink->src->priv;

    int ret;



    if (movie->is_done)

        return AVERROR_EOF;

    if ((ret = movie_get_frame(outlink)) < 0)

        return ret;



    outpicref = avfilter_ref_buffer(movie->picref, ~0);

    avfilter_start_frame(outlink, outpicref);

    avfilter_draw_slice(outlink, 0, outlink->h, 1);

    avfilter_end_frame(outlink);





    return 0;

}
static int request_frame(AVFilterLink *outlink)

{

    AVFilterBufferRef *outpicref;

    MovieContext *movie = outlink->src->priv;

    int ret;



    if (movie->is_done)

        return AVERROR_EOF;

    if ((ret = movie_get_frame(outlink)) < 0)

        return ret;



    outpicref = avfilter_ref_buffer(movie->picref, ~0);

    avfilter_start_frame(outlink, outpicref);

    avfilter_draw_slice(outlink, 0, outlink->h, 1);

    avfilter_end_frame(outlink);





    return 0;

}
static int FUNC_0(AVFilterLink *VAR_0)

{

    AVFilterBufferRef *outpicref;

    MovieContext *movie = VAR_0->src->priv;

    int VAR_1;



    if (movie->is_done)

        return AVERROR_EOF;

    if ((VAR_1 = movie_get_frame(VAR_0)) < 0)

        return VAR_1;



    outpicref = avfilter_ref_buffer(movie->picref, ~0);

    avfilter_start_frame(VAR_0, outpicref);

    avfilter_draw_slice(VAR_0, 0, VAR_0->h, 1);

    avfilter_end_frame(VAR_0);





    return 0;

}
static int FUNC_0(AVFilterLink *VAR_0)
{ AVFilterBufferRef *outpicref; MovieContext *movie = VAR_0->src->priv; int VAR_1; if (movie->is_done)
return AVERROR_EOF; if ((VAR_1 = movie_get_frame(VAR_0)) < 0)
return VAR_1; outpicref = avfilter_ref_buffer(movie->picref, ~0); avfilter_start_frame(VAR_0, outpicref); avfilter_draw_slice(VAR_0, 0, VAR_0->h, 1); avfilter_end_frame(VAR_0); return 0; }