[FFmpeg-cvslog] avcodec/dovi_rpu: properly replace context header
Niklas Haas
git at videolan.org
Mon Apr 22 13:23:59 EEST 2024
ffmpeg | branch: master | Niklas Haas <git at haasn.dev> | Wed Apr 3 17:06:27 2024 +0200| [fc616de1a53d98e5f6c4c7eba9835e33505e1dac] | committer: Niklas Haas
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc616de1a53d98e5f6c4c7eba9835e33505e1dac
---
libavcodec/dovi_rpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dovi_rpu.c b/libavcodec/dovi_rpu.c
index d95c7e03af..bfb7b9fe66 100644
--- a/libavcodec/dovi_rpu.c
+++ b/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++)
More information about the ffmpeg-cvslog
mailing list