mirror of https://github.com/FFmpeg/FFmpeg.git
render_charset() used static buffers that are always completely initialized before every use, so that it is unnecessary for the values in these arrays to be kept after leaving the function. Given that this is not only unnecessary, but harmful due to the possibility of data races if several instances of a64multi/a64multi5 run simultaneously these buffers have been replaced by ordinary buffers on the stack (they are small enough for this). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/362/head
parent
5c0f6d53da
commit
0ca09335aa
1 changed files with 7 additions and 4 deletions
Loading…
Reference in new issue