static av_cold int alac_decode_close(AVCodecContext *avctx)

{

    ALACContext *alac = avctx->priv_data;



    int chan;

    for (chan = 0; chan < alac->numchannels; chan++) {

        av_freep(&alac->predicterror_buffer[chan]);

        av_freep(&alac->outputsamples_buffer[chan]);

        av_freep(&alac->wasted_bits_buffer[chan]);

    }



    return 0;

}

static av_cold int alac_decode_close(AVCodecContext *avctx)

{

    ALACContext *alac = avctx->priv_data;



    int chan;

    for (chan = 0; chan < alac->numchannels; chan++) {

        av_freep(&alac->predicterror_buffer[chan]);

        av_freep(&alac->outputsamples_buffer[chan]);

        av_freep(&alac->wasted_bits_buffer[chan]);

    }



    return 0;

}

    int chan;     for (chan = 0; chan < alac->numchannels; chan++) {     return 0;     return 0; static av_cold int alac_decode_close(AVCodecContext *avctx)     ALACContext *alac = avctx->priv_data;     int chan;     for (chan = 0; chan < alac->numchannels; chan++) {         av_freep(&alac->predicterror_buffer[chan]);         av_freep(&alac->outputsamples_buffer[chan]);         av_freep(&alac->wasted_bits_buffer[chan]);
static av_cold int FUNC_0(AVCodecContext *avctx)

{

    ALACContext *alac = avctx->priv_data;



    int VAR_0;

    for (VAR_0 = 0; VAR_0 < alac->numchannels; VAR_0++) {

        av_freep(&alac->predicterror_buffer[VAR_0]);

        av_freep(&alac->outputsamples_buffer[VAR_0]);

        av_freep(&alac->wasted_bits_buffer[VAR_0]);

    }



    return 0;

}

static av_cold int FUNC_0(AVCodecContext *avctx)
{ ALACContext *alac = avctx->priv_data; int VAR_0; for (VAR_0 = 0; VAR_0 < alac->numchannels; VAR_0++) { av_freep(&alac->predicterror_buffer[VAR_0]); av_freep(&alac->outputsamples_buffer[VAR_0]); av_freep(&alac->wasted_bits_buffer[VAR_0]); } return 0; }