Revision e31a7441 libavcodec/smacker.c

View differences:

libavcodec/smacker.c
677 677
    for(i = 0; i < 4; i++) {
678 678
        if(vlc[i].table)
679 679
            free_vlc(&vlc[i]);
680
        if(h[i].bits)
681
            av_free(h[i].bits);
682
        if(h[i].lengths)
683
            av_free(h[i].lengths);
684
        if(h[i].values)
685
            av_free(h[i].values);
680
        av_free(h[i].bits);
681
        av_free(h[i].lengths);
682
        av_free(h[i].values);
686 683
    }
687 684

  
688 685
    *data_size = unp_size;

Also available in: Unified diff