diff options
author | Ronald S. Bultje <[email protected]> | 2017-04-03 14:43:40 -0400 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2017-04-13 02:29:26 +0200 |
commit | e90de50195d4b4b61f3c2c4ea3bb8a09b433de8e (patch) | |
tree | 08e55f84dba14f4ae86c09206733ce1112b74a8a /libavcodec/pthread_frame.c | |
parent | 51ca6fda0500da24e3d365c9dfce31bad42e8723 (diff) |
png: set AVFrame flags/fields before calling setup_finished().
Fixes tsan warnings in fate-apng:
WARNING: ThreadSanitizer: data race (pid=51230)
Read of size 4 at 0x7d50000042fc by main thread (mutexes: write M1000):
#0 frame_copy_props frame.c:302 (ffmpeg:x86_64+0x1019a35d6)
[..]
Previous write of size 4 at 0x7d50000042fc by thread T1 (mutexes: write M997):
#0 decode_idat_chunk pngdec.c:708 (ffmpeg:x86_64+0x100f5562a)
(cherry picked from commit eff2861a757b8a46398e6fcb844b960b4775daad)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/pthread_frame.c')
0 files changed, 0 insertions, 0 deletions