summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-15 17:58:23 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-18 20:20:50 +0200
commitafd9da24d9da6b4a194c03779e8863b8a66ed745 (patch)
tree62135ec703c30f33a12dff53bf1f90a4f12179f4
parent22e157c1c6d540040dc356f5e218f021060ccf46 (diff)
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>
-rw-r--r--libavcodec/mpegvideo_dec.c5
1 files changed, 0 insertions, 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;