Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-15 20:41:08 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-07-20 15:57:18 +0300
commit1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4 (patch)
tree45c0f6afc1317c04301e9fe38b9d444f02deb0a8 /libavcodec/mpegvideo_enc.c
parente93ca480c91397f82f2ea5b6a8b82ac6d0e2bfd2 (diff)
mpegvideo_enc: Drop unnneded initialization
coded_frame is already initialized where needed.
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r--libavcodec/mpegvideo_enc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index f88e0096b4..35c78394ef 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -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) *