mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 04:52:09 +00:00
mpegvideo: don't copy input_picture_number in update_thread_context()
It is encoding-only, frame threading is not used for encoding.
This commit is contained in:
parent
ff7ffe4809
commit
2cab011f0f
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user