Revision e31a7441 libavformat/smacker.c

View differences:

libavformat/smacker.c
334 334
    int i;
335 335

  
336 336
    for(i = 0; i < 7; i++)
337
        if(smk->bufs[i])
338
            av_free(smk->bufs[i]);
339
    if(smk->frm_size)
340
        av_free(smk->frm_size);
341
    if(smk->frm_flags)
342
        av_free(smk->frm_flags);
337
        av_free(smk->bufs[i]);
338
    av_free(smk->frm_size);
339
    av_free(smk->frm_flags);
343 340

  
344 341
    return 0;
345 342
}

Also available in: Unified diff