Revision e31a7441 libavcodec/truemotion2.c

View differences:

libavcodec/truemotion2.c
185 185

  
186 186
static void tm2_free_codes(TM2Codes *code)
187 187
{
188
    if(code->recode)
189
        av_free(code->recode);
188
    av_free(code->recode);
190 189
    if(code->vlc.table)
191 190
        free_vlc(&code->vlc);
192 191
}
......
859 858
    AVFrame *pic = &l->pic;
860 859
    int i;
861 860

  
862
    if(l->last)
863
        av_free(l->last);
864
    if(l->clast)
865
        av_free(l->clast);
861
    av_free(l->last);
862
    av_free(l->clast);
866 863
    for(i = 0; i < TM2_NUM_STREAMS; i++)
867
        if(l->tokens[i])
868
            av_free(l->tokens[i]);
864
        av_free(l->tokens[i]);
869 865
    if(l->Y1){
870 866
        av_free(l->Y1);
871 867
        av_free(l->U1);

Also available in: Unified diff