Revision d2d5e067 libavcodec/h264.c

View differences:

libavcodec/h264.c
1997 1997
        av_freep(&hx->top_borders[1]);
1998 1998
        av_freep(&hx->top_borders[0]);
1999 1999
        av_freep(&hx->s.obmc_scratchpad);
2000
        av_freep(&hx->rbsp_buffer[1]);
2001
        av_freep(&hx->rbsp_buffer[0]);
2002
        if (i) av_freep(&h->thread_context[i]);
2000 2003
    }
2001 2004
}
2002 2005

  
......
8123 8126
{
8124 8127
    int i;
8125 8128

  
8126
    av_freep(&h->rbsp_buffer[0]);
8127
    av_freep(&h->rbsp_buffer[1]);
8128 8129
    free_tables(h); //FIXME cleanup init stuff perhaps
8129 8130

  
8130 8131
    for(i = 0; i < MAX_SPS_COUNT; i++)

Also available in: Unified diff