static void free_buffers(VP8Context *s)

{

    int i;

    if (s->thread_data)

        for (i = 0; i < MAX_THREADS; i++) {





            av_freep(&s->thread_data[i].filter_strength);

            av_freep(&s->thread_data[i].edge_emu_buffer);

        }

    av_freep(&s->thread_data);

    av_freep(&s->macroblocks_base);

    av_freep(&s->intra4x4_pred_mode_top);

    av_freep(&s->top_nnz);

    av_freep(&s->top_border);



    s->macroblocks = NULL;

}
static void free_buffers(VP8Context *s)

{

    int i;

    if (s->thread_data)

        for (i = 0; i < MAX_THREADS; i++) {





            av_freep(&s->thread_data[i].filter_strength);

            av_freep(&s->thread_data[i].edge_emu_buffer);

        }

    av_freep(&s->thread_data);

    av_freep(&s->macroblocks_base);

    av_freep(&s->intra4x4_pred_mode_top);

    av_freep(&s->top_nnz);

    av_freep(&s->top_border);



    s->macroblocks = NULL;

}
static void FUNC_0(VP8Context *VAR_0)

{

    int VAR_1;

    if (VAR_0->thread_data)

        for (VAR_1 = 0; VAR_1 < MAX_THREADS; VAR_1++) {





            av_freep(&VAR_0->thread_data[VAR_1].filter_strength);

            av_freep(&VAR_0->thread_data[VAR_1].edge_emu_buffer);

        }

    av_freep(&VAR_0->thread_data);

    av_freep(&VAR_0->macroblocks_base);

    av_freep(&VAR_0->intra4x4_pred_mode_top);

    av_freep(&VAR_0->top_nnz);

    av_freep(&VAR_0->top_border);



    VAR_0->macroblocks = NULL;

}
static void FUNC_0(VP8Context *VAR_0)
{ int VAR_1; if (VAR_0->thread_data)
for (VAR_1 = 0; VAR_1 < MAX_THREADS; VAR_1++) { av_freep(&VAR_0->thread_data[VAR_1].filter_strength); av_freep(&VAR_0->thread_data[VAR_1].edge_emu_buffer); } av_freep(&VAR_0->thread_data); av_freep(&VAR_0->macroblocks_base); av_freep(&VAR_0->intra4x4_pred_mode_top); av_freep(&VAR_0->top_nnz); av_freep(&VAR_0->top_border); VAR_0->macroblocks = NULL; }