static void vp8_release_frame(VP8Context *s, AVFrame *f, int is_close)

{

    if (!is_close) {

        if (f->ref_index[0]) {

            assert(s->num_maps_to_be_freed < FF_ARRAY_ELEMS(s->segmentation_maps));

            s->segmentation_maps[s->num_maps_to_be_freed++] = f->ref_index[0];

            f->ref_index[0] = NULL;

        }

    } else {

        av_freep(&f->ref_index[0]);

    }

    ff_thread_release_buffer(s->avctx, f);

}

static void vp8_release_frame(VP8Context *s, AVFrame *f, int is_close)

{

    if (!is_close) {

        if (f->ref_index[0]) {

            assert(s->num_maps_to_be_freed < FF_ARRAY_ELEMS(s->segmentation_maps));

            s->segmentation_maps[s->num_maps_to_be_freed++] = f->ref_index[0];

            f->ref_index[0] = NULL;

        }

    } else {

        av_freep(&f->ref_index[0]);

    }

    ff_thread_release_buffer(s->avctx, f);

}

static void vp8_release_frame(VP8Context *s, AVFrame *f, int is_close)     if (!is_close) {         if (f->ref_index[0]) {             assert(s->num_maps_to_be_freed < FF_ARRAY_ELEMS(s->segmentation_maps));             s->segmentation_maps[s->num_maps_to_be_freed++] = f->ref_index[0];     } else {         av_freep(&f->ref_index[0]);
static void FUNC_0(VP8Context *VAR_0, AVFrame *VAR_1, int VAR_2)

{

    if (!VAR_2) {

        if (VAR_1->ref_index[0]) {

            assert(VAR_0->num_maps_to_be_freed < FF_ARRAY_ELEMS(VAR_0->segmentation_maps));

            VAR_0->segmentation_maps[VAR_0->num_maps_to_be_freed++] = VAR_1->ref_index[0];

            VAR_1->ref_index[0] = NULL;

        }

    } else {

        av_freep(&VAR_1->ref_index[0]);

    }

    ff_thread_release_buffer(VAR_0->avctx, VAR_1);

}

static void FUNC_0(VP8Context *VAR_0, AVFrame *VAR_1, int VAR_2)
{ if (!VAR_2) { if (VAR_1->ref_index[0]) { assert(VAR_0->num_maps_to_be_freed < FF_ARRAY_ELEMS(VAR_0->segmentation_maps)); VAR_0->segmentation_maps[VAR_0->num_maps_to_be_freed++] = VAR_1->ref_index[0]; VAR_1->ref_index[0] = NULL; } } else { av_freep(&VAR_1->ref_index[0]); } ff_thread_release_buffer(VAR_0->avctx, VAR_1); }