diff options
author | Andreas Rheinhardt <[email protected]> | 2024-01-24 17:44:59 +0100 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2024-01-28 10:52:24 +0100 |
commit | 916f01674178b0949b8d432b0d192169cc98b733 (patch) | |
tree | b632acc7fda48008fdf1fb278a8ca783d04c9955 /doc/examples | |
parent | 555879ca7cf50f265c4beae365cc5142f3eb660e (diff) |
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 <[email protected]>
Diffstat (limited to 'doc/examples')
0 files changed, 0 insertions, 0 deletions