static av_cold int shorten_decode_close(AVCodecContext *avctx)

{

    ShortenContext *s = avctx->priv_data;

    int i;



    for (i = 0; i < s->channels; i++) {

        s->decoded[i] -= s->nwrap;

        av_freep(&s->decoded[i]);

        av_freep(&s->offset[i]);

    }

    av_freep(&s->bitstream);

    av_freep(&s->coeffs);



    return 0;

}

static av_cold int shorten_decode_close(AVCodecContext *avctx)

{

    ShortenContext *s = avctx->priv_data;

    int i;



    for (i = 0; i < s->channels; i++) {

        s->decoded[i] -= s->nwrap;

        av_freep(&s->decoded[i]);

        av_freep(&s->offset[i]);

    }

    av_freep(&s->bitstream);

    av_freep(&s->coeffs);



    return 0;

}

        s->decoded[i] -= s->nwrap;         av_freep(&s->decoded[i]);
static av_cold int FUNC_0(AVCodecContext *avctx)

{

    ShortenContext *s = avctx->priv_data;

    int VAR_0;



    for (VAR_0 = 0; VAR_0 < s->channels; VAR_0++) {

        s->decoded[VAR_0] -= s->nwrap;

        av_freep(&s->decoded[VAR_0]);

        av_freep(&s->offset[VAR_0]);

    }

    av_freep(&s->bitstream);

    av_freep(&s->coeffs);



    return 0;

}

static av_cold int FUNC_0(AVCodecContext *avctx)
{ ShortenContext *s = avctx->priv_data; int VAR_0; for (VAR_0 = 0; VAR_0 < s->channels; VAR_0++) { s->decoded[VAR_0] -= s->nwrap; av_freep(&s->decoded[VAR_0]); av_freep(&s->offset[VAR_0]); } av_freep(&s->bitstream); av_freep(&s->coeffs); return 0; }