diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-30 19:55:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-03 18:53:25 +0200 |
commit | e1f3041b93cc8a382fd16d7a062edd154bdec2ea (patch) | |
tree | a85747b7b8f29c39b21784002773bed3b9b2d789 | |
parent | 06388250d953e5cd47bb03c2d0e1599db6d9a79f (diff) | |
download | ffmpeg-e1f3041b93cc8a382fd16d7a062edd154bdec2ea.tar.gz |
avcodec/h264_slice: Don't keep AVCodecContext props in sync manually
It is already done generically in update_context_from_thread()
before this function is called.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/h264_slice.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 5657327f0c..24f4690e79 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -404,10 +404,6 @@ int ff_h264_update_thread_context(AVCodecContext *dst, memcpy(h->block_offset, h1->block_offset, sizeof(h->block_offset)); } - h->avctx->coded_height = h1->avctx->coded_height; - h->avctx->coded_width = h1->avctx->coded_width; - h->avctx->width = h1->avctx->width; - h->avctx->height = h1->avctx->height; h->width_from_caller = h1->width_from_caller; h->height_from_caller = h1->height_from_caller; h->coded_picture_number = h1->coded_picture_number; |