]> git.sesse.net Git - ffmpeg/commitdiff
mpegvideo_enc: Drop unnneded initialization
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 15 Jul 2015 17:41:08 +0000 (18:41 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 20 Jul 2015 12:57:18 +0000 (13:57 +0100)
coded_frame is already initialized where needed.

libavcodec/mpegvideo_enc.c

index f88e0096b47b557c108b083d74abb116b3e0335f..35c78394ef50bdce71981e0e7a88defd1b2bc77d 100644 (file)
@@ -722,8 +722,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
     ff_pixblockdsp_init(&s->pdsp, avctx);
     ff_qpeldsp_init(&s->qdsp);
 
-    s->avctx->coded_frame = s->current_picture.f;
-
     if (s->msmpeg4_version) {
         FF_ALLOCZ_OR_GOTO(s->avctx, s->ac_stats,
                           2 * 2 * (MAX_LEVEL + 1) *