Revision a6f2c0d6 libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
289 289

  
290 290
     //FIXME should be linesize instead of s->width*2 but that is not known before get_buffer()
291 291
    CHECKED_ALLOCZ(s->me.scratchpad,  (s->width+64)*4*16*2*sizeof(uint8_t))
292
    s->me.temp=         s->me.scratchpad;
292 293
    s->rd_scratchpad=   s->me.scratchpad;
293 294
    s->b_scratchpad=    s->me.scratchpad;
294 295
    s->obmc_scratchpad= s->me.scratchpad + 16;
......
315 316

  
316 317
    av_freep(&s->allocated_edge_emu_buffer); s->edge_emu_buffer= NULL;
317 318
    av_freep(&s->me.scratchpad);
319
    s->me.temp=
318 320
    s->rd_scratchpad=
319 321
    s->b_scratchpad=
320 322
    s->obmc_scratchpad= NULL;
......
331 333
    COPY(allocated_edge_emu_buffer);
332 334
    COPY(edge_emu_buffer);
333 335
    COPY(me.scratchpad);
336
    COPY(me.temp);
334 337
    COPY(rd_scratchpad);
335 338
    COPY(b_scratchpad);
336 339
    COPY(obmc_scratchpad);

Also available in: Unified diff