[FFmpeg-cvslog] mpegvideo_enc: Drop unnneded initialization
Vittorio Giovara
git at videolan.org
Mon Jul 20 21:28:04 CEST 2015
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Jul 15 18:41:08 2015 +0100| [1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4] | committer: Vittorio Giovara
mpegvideo_enc: Drop unnneded initialization
coded_frame is already initialized where needed.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4
---
libavcodec/mpegvideo_enc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index f88e009..35c7839 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) *
More information about the ffmpeg-cvslog
mailing list