mpegvideo: don't copy input_picture_number in update_thread_context()
authorAnton Khirnov <anton@khirnov.net>
Sat, 30 Nov 2013 09:47:52 +0000 (10:47 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 5 Dec 2013 12:22:46 +0000 (13:22 +0100)
It is encoding-only, frame threading is not used for encoding.

libavcodec/mpegvideo.c

index 5886e5b..b11484e 100644 (file)
@@ -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]);