static int decode_end(AVCodecContext * avctx)

{

    KmvcContext *const c = (KmvcContext *) avctx->priv_data;



    if (c->frm0)

        av_free(c->frm0);

    if (c->frm1)

        av_free(c->frm1);

    if (c->pic.data[0])

        avctx->release_buffer(avctx, &c->pic);



    return 0;

}

static int decode_end(AVCodecContext * avctx)

{

    KmvcContext *const c = (KmvcContext *) avctx->priv_data;



    if (c->frm0)

        av_free(c->frm0);

    if (c->frm1)

        av_free(c->frm1);

    if (c->pic.data[0])

        avctx->release_buffer(avctx, &c->pic);



    return 0;

}

static int FUNC_0(AVCodecContext * VAR_0)

{

    KmvcContext *const c = (KmvcContext *) VAR_0->priv_data;



    if (c->frm0)

        av_free(c->frm0);

    if (c->frm1)

        av_free(c->frm1);

    if (c->pic.data[0])

        VAR_0->release_buffer(VAR_0, &c->pic);



    return 0;

}

static int FUNC_0(AVCodecContext * VAR_0)
{ KmvcContext *const c = (KmvcContext *) VAR_0->priv_data; if (c->frm0)
av_free(c->frm0); if (c->frm1)
av_free(c->frm1); if (c->pic.data[0])
VAR_0->release_buffer(VAR_0, &c->pic); return 0; }