aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpegtables.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-04-03 10:08:29 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2017-04-13 02:29:26 +0200
commit51ca6fda0500da24e3d365c9dfce31bad42e8723 (patch)
tree489bfe27d46c7c07310cfcff892da1b3cfcc6023 /libavcodec/jpegtables.c
parentd1cae50a046763bf14d74e899d90e4ef0be5b551 (diff)
downloadffmpeg-51ca6fda0500da24e3d365c9dfce31bad42e8723.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 'libavcodec/jpegtables.c')
0 files changed, 0 insertions, 0 deletions