aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/xcbgrab.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-04-03 22:28:22 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2017-04-13 02:29:26 +0200
commit5e84c94f6962e23b552809280bd89c70d4a7ef5e (patch)
treefb7aabef2c212f92d8132b769a3454a111ec1862 /libavdevice/xcbgrab.c
parente90de50195d4b4b61f3c2c4ea3bb8a09b433de8e (diff)
downloadffmpeg-5e84c94f6962e23b552809280bd89c70d4a7ef5e.tar.gz
huffyuv: assign correct per-thread avctx pointer to HYuvContext::avctx.
Fixes the following tsan warning when running fate-vsynth_lena-ffvhuff: WARNING: ThreadSanitizer: data race (pid=6484) Write of size 8 at 0x7d64000154b8 by main thread (mutexes: write M1331): #0 update_context_from_user src/libavcodec/pthread_frame.c:331 (ffmpeg+0x000000dca887) [..] Previous read of size 8 at 0x7d64000154b8 by thread T2 (mutexes: write M1334): #0 draw_slice src/libavcodec/huffyuvdec.c:857 (ffmpeg+0x000000bcc86f) (cherry picked from commit 7c7e7c44a6eb68eca861e45cb2ce78f582b12c69) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/xcbgrab.c')
0 files changed, 0 insertions, 0 deletions