avcodec/dovi_rpu: correctly copy num_ext_blocks

This commit is contained in:
Niklas Haas 2024-07-16 15:33:31 +02:00
parent b5aeafc00a
commit 6b66df74b8

View File

@ -66,6 +66,7 @@ void ff_dovi_ctx_replace(DOVIContext *s, const DOVIContext *s0)
for (int i = 0; i <= DOVI_MAX_DM_ID; i++)
ff_refstruct_replace(&s->vdr[i], s0->vdr[i]);
ff_refstruct_replace(&s->ext_blocks, s0->ext_blocks);
s->num_ext_blocks = s0->num_ext_blocks;
}
int ff_dovi_guess_profile_hevc(const AVDOVIRpuDataHeader *hdr)