avcodec/dovi_rpu: properly replace context header

This was never set in ff_dovi_ctx_replace(), leading to possibly
out-of-date when copying from one thread to another.
This commit is contained in:
Niklas Haas 2024-04-03 17:06:27 +02:00
parent d0392619a7
commit fc616de1a5
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ void ff_dovi_ctx_replace(DOVIContext *s, const DOVIContext *s0)
{
s->logctx = s0->logctx;
s->cfg = s0->cfg;
s->header = s0->header;
s->mapping = s0->mapping;
s->color = s0->color;
for (int i = 0; i <= DOVI_MAX_DM_ID; i++)