static void free_buffers(AVCodecContext *avctx)

{

    CFHDContext *s = avctx->priv_data;

    int i;



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

        av_freep(&s->plane[i].idwt_buf);

        av_freep(&s->plane[i].idwt_tmp);

    }

    s->a_height = 0;

    s->a_width  = 0;

}

static void free_buffers(AVCodecContext *avctx)

{

    CFHDContext *s = avctx->priv_data;

    int i;



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

        av_freep(&s->plane[i].idwt_buf);

        av_freep(&s->plane[i].idwt_tmp);

    }

    s->a_height = 0;

    s->a_width  = 0;

}

    int i;
static void FUNC_0(AVCodecContext *VAR_0)

{

    CFHDContext *s = VAR_0->priv_data;

    int VAR_1;



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

        av_freep(&s->plane[VAR_1].idwt_buf);

        av_freep(&s->plane[VAR_1].idwt_tmp);

    }

    s->a_height = 0;

    s->a_width  = 0;

}

static void FUNC_0(AVCodecContext *VAR_0)
{ CFHDContext *s = VAR_0->priv_data; int VAR_1; for (VAR_1 = 0; VAR_1 < 4; VAR_1++) { av_freep(&s->plane[VAR_1].idwt_buf); av_freep(&s->plane[VAR_1].idwt_tmp); } s->a_height = 0; s->a_width  = 0; }