Revision a6f2c0d6 libavcodec/snow.c

View differences:

libavcodec/snow.c
4007 4007
    s->m.flags   = avctx->flags;
4008 4008
    s->m.bit_rate= avctx->bit_rate;
4009 4009

  
4010
    s->m.me.temp      =
4010 4011
    s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t));
4011 4012
    s->m.me.map       = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));
4012 4013
    s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));
......
4435 4436
    av_freep(&s->spatial_dwt_buffer);
4436 4437
    av_freep(&s->spatial_idwt_buffer);
4437 4438

  
4439
    s->m.me.temp= NULL;
4438 4440
    av_freep(&s->m.me.scratchpad);
4439 4441
    av_freep(&s->m.me.map);
4440 4442
    av_freep(&s->m.me.score_map);

Also available in: Unified diff