diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-04-03 10:08:29 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-01 12:49:26 +0200 |
commit | b3a653c92ee53a429a263b0c1e807a8f0bd56d2d (patch) | |
tree | b4a051a9664f643bce1ba7a2cd1b05b4283c7f68 /COPYING.GPLv3 | |
parent | 8a2ef6d25dc79d472ea7b184c3b95b4658c99838 (diff) | |
download | ffmpeg-b3a653c92ee53a429a263b0c1e807a8f0bd56d2d.tar.gz |
png: split header state and data state in two separate variables.
Fixes a reported (but false) race condition in tsan for fate-apng:
WARNING: ThreadSanitizer: data race (pid=6274)
Read of size 4 at 0x7d680001ec78 by main thread (mutexes: write M1338):
#0 update_thread_context src/libavcodec/pngdec.c:1456 (ffmpeg+0x000000dacf0c)
[..]
Previous write of size 4 at 0x7d680001ec78 by thread T1 (mutexes: write M1335):
#0 decode_idat_chunk src/libavcodec/pngdec.c:737 (ffmpeg+0x000000dae951)
(cherry picked from commit 478f1c3d5e5463a284ea7efecfc62d47ba3be11a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'COPYING.GPLv3')
0 files changed, 0 insertions, 0 deletions