static int finish_frame(AVCodecContext *avctx, AVFrame *pict)

{

    RV34DecContext *r = avctx->priv_data;

    MpegEncContext *s = &r->s;

    int got_picture = 0;



    ff_er_frame_end(s);

    ff_MPV_frame_end(s);




    if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME))

        ff_thread_report_progress(&s->current_picture_ptr->f, INT_MAX, 0);



    if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {

        *pict = s->current_picture_ptr->f;

        got_picture = 1;

    } else if (s->last_picture_ptr != NULL) {

        *pict = s->last_picture_ptr->f;

        got_picture = 1;

    }

    if (got_picture)

        ff_print_debug_info(s, pict);



    return got_picture;

}
static int finish_frame(AVCodecContext *avctx, AVFrame *pict)

{

    RV34DecContext *r = avctx->priv_data;

    MpegEncContext *s = &r->s;

    int got_picture = 0;



    ff_er_frame_end(s);

    ff_MPV_frame_end(s);




    if (HAVE_THREADS && (s->avctx->active_thread_type & FF_THREAD_FRAME))

        ff_thread_report_progress(&s->current_picture_ptr->f, INT_MAX, 0);



    if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {

        *pict = s->current_picture_ptr->f;

        got_picture = 1;

    } else if (s->last_picture_ptr != NULL) {

        *pict = s->last_picture_ptr->f;

        got_picture = 1;

    }

    if (got_picture)

        ff_print_debug_info(s, pict);



    return got_picture;

}
static int FUNC_0(AVCodecContext *VAR_0, AVFrame *VAR_1)

{

    RV34DecContext *r = VAR_0->priv_data;

    MpegEncContext *s = &r->s;

    int VAR_2 = 0;



    ff_er_frame_end(s);

    ff_MPV_frame_end(s);




    if (HAVE_THREADS && (s->VAR_0->active_thread_type & FF_THREAD_FRAME))

        ff_thread_report_progress(&s->current_picture_ptr->f, INT_MAX, 0);



    if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {

        *VAR_1 = s->current_picture_ptr->f;

        VAR_2 = 1;

    } else if (s->last_picture_ptr != NULL) {

        *VAR_1 = s->last_picture_ptr->f;

        VAR_2 = 1;

    }

    if (VAR_2)

        ff_print_debug_info(s, VAR_1);



    return VAR_2;

}
static int FUNC_0(AVCodecContext *VAR_0, AVFrame *VAR_1)
{ RV34DecContext *r = VAR_0->priv_data; MpegEncContext *s = &r->s; int VAR_2 = 0; ff_er_frame_end(s); ff_MPV_frame_end(s); if (HAVE_THREADS && (s->VAR_0->active_thread_type & FF_THREAD_FRAME))
ff_thread_report_progress(&s->current_picture_ptr->f, INT_MAX, 0); if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) { *VAR_1 = s->current_picture_ptr->f; VAR_2 = 1; } else if (s->last_picture_ptr != NULL) { *VAR_1 = s->last_picture_ptr->f; VAR_2 = 1; } if (VAR_2)
ff_print_debug_info(s, VAR_1); return VAR_2; }