[FFmpeg-cvslog] mpegvideo: don't copy input_picture_number in update_thread_context()

Anton Khirnov git at videolan.org
Fri Dec 6 01:59:17 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Nov 30 10:47:52 2013 +0100| [2cab011f0f02fcff8a0629a611bcac2f0459f04a] | committer: Anton Khirnov

mpegvideo: don't copy input_picture_number in update_thread_context()

It is encoding-only, frame threading is not used for encoding.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2cab011f0f02fcff8a0629a611bcac2f0459f04a
---

 libavcodec/mpegvideo.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 5886e5b..b11484e 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -683,7 +683,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
 
     s->coded_picture_number = s1->coded_picture_number;
     s->picture_number       = s1->picture_number;
-    s->input_picture_number = s1->input_picture_number;
 
     for (i = 0; i < MAX_PICTURE_COUNT; i++) {
         ff_mpeg_unref_picture(s, &s->picture[i]);



More information about the ffmpeg-cvslog mailing list