Commit 2cab011f authored by Anton Khirnov's avatar Anton Khirnov

mpegvideo: don't copy input_picture_number in update_thread_context()

It is encoding-only, frame threading is not used for encoding.
parent ff7ffe48
...@@ -683,7 +683,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst, ...@@ -683,7 +683,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
s->coded_picture_number = s1->coded_picture_number; s->coded_picture_number = s1->coded_picture_number;
s->picture_number = s1->picture_number; s->picture_number = s1->picture_number;
s->input_picture_number = s1->input_picture_number;
for (i = 0; i < MAX_PICTURE_COUNT; i++) { for (i = 0; i < MAX_PICTURE_COUNT; i++) {
ff_mpeg_unref_picture(s, &s->picture[i]); ff_mpeg_unref_picture(s, &s->picture[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment