diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-09-11 09:58:47 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2017-09-12 08:21:10 -0400 |
commit | 183216b21870f21c86c904a7530d53682d7db46d (patch) | |
tree | d8e6de0c676031fcd8a56aabe93e66b0018d04ac /libavformat/rtpdec_h263.c | |
parent | 549ef6ef9a8168281640b9cd0240abe071cbbda3 (diff) | |
download | ffmpeg-183216b21870f21c86c904a7530d53682d7db46d.tar.gz |
frame_thread_encoder: make 'exit' member atomic.
Should fix the following tsan warning:
WARNING: ThreadSanitizer: data race (pid=19806)
Read of size 4 at 0x7b84000012f0 by thread T9:
#0 worker src/libavcodec/frame_thread_encoder.c:66 (ffmpeg+0x0000007f349e)
[..]
Previous write of size 4 at 0x7b84000012f0 by main thread (mutexes: write M1395):
#0 ff_frame_thread_encoder_free src/libavcodec/frame_thread_encoder.c:239 (ffmpeg+0x0000007f379e)
[..]
Diffstat (limited to 'libavformat/rtpdec_h263.c')
0 files changed, 0 insertions, 0 deletions