You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user