Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-05-24 18:46:07 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2017-05-25 17:29:07 +0300
commitca2209d67af0a73fe0edb2fce1cea2445dbfd8db (patch)
tree8195440acc607e5ae37d62f456c13b27e2299af6 /libavcodec/frame_thread_encoder.c
parent4dc3714c48e74e75a3a9c7d9fb52fd5917107508 (diff)
hevc: fix race condition in max_ra/seq_decode.
These variables are shared between frame threads, but they are updated post-setup_finished() if a EOB/EOS slice type occurs. Moving the EOB/EOS slices to the next frame thread instance (by parsing them leading into the next picture instead of trailing behind the last picture) effectively prevents this race condition. This fixes tsan failures on hevc-conformance-NoOutPrior_A_Qualcomm_1.
Diffstat (limited to 'libavcodec/frame_thread_encoder.c')
0 files changed, 0 insertions, 0 deletions