Revision 747069e2

View differences:

libavcodec/mpegvideo.c
554 554
        }
555 555
    }
556 556
    CHECKED_ALLOCZ(s->picture, MAX_PICTURE_COUNT * sizeof(Picture))
557
    for(i = 0; i < MAX_PICTURE_COUNT; i++) {
558
        avcodec_get_frame_defaults((AVFrame *)&s->picture[i]);
559
    }
557 560

  
558 561
    CHECKED_ALLOCZ(s->error_status_table, mb_array_size*sizeof(uint8_t))
559 562

  

Also available in: Unified diff