avcodec/mpegvideo_dec: Don't sync AVCodecContext fields manually

They are already synced generically in update_context_from_thread()
in pthread_frame.c.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-08-15 17:58:23 +02:00
parent 22e157c1c6
commit afd9da24d9

View File

@ -90,11 +90,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
return ret;
}
s->avctx->coded_height = s1->avctx->coded_height;
s->avctx->coded_width = s1->avctx->coded_width;
s->avctx->width = s1->avctx->width;
s->avctx->height = s1->avctx->height;
s->quarter_sample = s1->quarter_sample;
s->coded_picture_number = s1->coded_picture_number;