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.
release/7.1
Niklas Haas 10 months ago
parent d0392619a7
commit fc616de1a5
  1. 1
      libavcodec/dovi_rpu.c

@ -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…
Cancel
Save