aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca_syncwords.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 13:07:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-03 16:46:43 +0200
commitedbc26e38b1cb0d53a355ed49a92f58335e0eff9 (patch)
tree11d3026c34dae376ec0f5389d6e0a87281b760b5 /libavcodec/dca_syncwords.h
parent8bc3cdf00722834ae73f48dd6a29af3cec71bf9b (diff)
downloadffmpeg-edbc26e38b1cb0d53a355ed49a92f58335e0eff9.tar.gz
avcodec/a64multienc: Don't use static buffers, fix potential races
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> (cherry picked from commit 0ca09335aa47fee181c36187143403811b5452f6)
Diffstat (limited to 'libavcodec/dca_syncwords.h')
0 files changed, 0 insertions, 0 deletions