Revision eec1c6b9 libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
292 292
        if (!s->mbintra_table)
293 293
            goto fail;
294 294
        memset(s->mbintra_table, 1, s->mb_num);
295
        
296
        /* divx501 bitstream reorder buffer */
297
        s->bitstream_buffer= av_mallocz(BITSTREAM_BUFFER_SIZE);
298
        if (!s->bitstream_buffer)
299
            goto fail;
295 300
    }
296 301
    /* default structure is frame */
297 302
    s->picture_structure = PICT_FRAME;
......
340 345
    CHECK_FREE(s->me_scratchpad);
341 346

  
342 347
    CHECK_FREE(s->mbskip_table);
348
    CHECK_FREE(s->bitstream_buffer);
343 349
    for(i=0;i<3;i++) {
344 350
        int j;
345 351
        CHECK_FREE(s->last_picture_base[i]);

Also available in: Unified diff