aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/dnn/dnn_interface.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-01-24 17:44:59 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-01-28 10:52:24 +0100
commit916f01674178b0949b8d432b0d192169cc98b733 (patch)
treeb632acc7fda48008fdf1fb278a8ca783d04c9955 /libavfilter/dnn/dnn_interface.c
parent555879ca7cf50f265c4beae365cc5142f3eb660e (diff)
downloadffmpeg-916f01674178b0949b8d432b0d192169cc98b733.tar.gz
avcodec/dxvenc: Fix data races with slice threading
The old code set a common struct from each thread; this only "worked" (but is still UB) because the values written are the same for each thread. Fix this by moving the assignments to the main thread. (This also avoids casting const away from a const AVFrame*.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/dnn/dnn_interface.c')
0 files changed, 0 insertions, 0 deletions