It is already done generically in update_context_from_thread() before this function is called.
Unified · Split
| @@ -404,10 +404,6 @@ int ff_h264_update_thread_context(AVCodecContext *dst, · 403 unmodified lines | |||
| 404 | memcpy(h->block_offset, h1->block_offset, sizeof(h->block_offset)); | 404 | memcpy(h->block_offset, h1->block_offset, sizeof(h->block_offset)); |
| 405 | } | 405 | } |
| 406 | 406 | ||
| 407 | h->avctx->coded_height = h1->avctx->coded_height; | ||
| 408 | h->avctx->coded_width = h1->avctx->coded_width; | ||
| 409 | h->avctx->width = h1->avctx->width; | ||
| 410 | h->avctx->height = h1->avctx->height; | ||
| 411 | h->width_from_caller = h1->width_from_caller; | 407 | h->width_from_caller = h1->width_from_caller; |
| 412 | h->height_from_caller = h1->height_from_caller; | 408 | h->height_from_caller = h1->height_from_caller; |
| 413 | h->coded_picture_number = h1->coded_picture_number; | 409 | h->coded_picture_number = h1->coded_picture_number; |