History

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.

Andreas Rheinhardt committed 3 years ago

Commit e1f30411 parent 06388251 file · +0 −4Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/h264_slice.c+0−4
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t