aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/error.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-04-03 10:08:29 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-05 13:01:36 +0200
commit453519af0d4a50bbc62999b312de9692e429bf22 (patch)
tree24d1dedfa2b59673248569560eb5a0621729db5d /libavutil/error.h
parent0f6fa27b241676624bab91fc6ecdf8ac01121d29 (diff)
downloadffmpeg-453519af0d4a50bbc62999b312de9692e429bf22.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 'libavutil/error.h')
0 files changed, 0 insertions, 0 deletions