mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
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:
parent
d0392619a7
commit
fc616de1a5
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user