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>
pull/388/head
Andreas Rheinhardt 2 years ago
parent 22e157c1c6
commit afd9da24d9
  1. 5
      libavcodec/mpegvideo_dec.c

@ -90,11 +90,6 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
return ret; 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->quarter_sample = s1->quarter_sample;
s->coded_picture_number = s1->coded_picture_number; s->coded_picture_number = s1->coded_picture_number;

Loading…
Cancel
Save