Browse Source

mpegvideo_enc: Drop unnneded initialization

coded_frame is already initialized where needed.
tags/n2.8
Vittorio Giovara 10 years ago
parent
commit
1f171de8ca
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/mpegvideo_enc.c

+ 0
- 2
libavcodec/mpegvideo_enc.c View 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) *


Loading…
Cancel
Save