mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.0
parent
555879ca7c
commit
916f016741
1 changed files with 9 additions and 20 deletions
Loading…
Reference in new issue