From afd9da24d9da6b4a194c03779e8863b8a66ed745 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 15 Aug 2022 17:58:23 +0200 Subject: 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 --- libavcodec/mpegvideo_dec.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c index 08385764b4..406c3feacf 100644 --- a/libavcodec/mpegvideo_dec.c +++ b/libavcodec/mpegvideo_dec.c @@ -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; -- cgit v1.2.3