]> git.sesse.net Git - ffmpeg/commit
avcodec/mpegaudio_tablegen: Don't inappropriately use static array
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 17 Nov 2020 22:42:58 +0000 (23:42 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 16:51:47 +0000 (17:51 +0100)
commit12e941df89aa0e2aa8c6b90bfef9d4127ae7063c
treed9a56814ff86f7aefbb93b88af03f48d6523f367
parent22140374c8980420a3b5c65fcc11d90a04d35946
avcodec/mpegaudio_tablegen: Don't inappropriately use static array

Each invocation of this function is only entered once, so using a static
array makes no sense (and given that the whole array is reinitialized at
the beginning of this function, it wouldn't even make sense if the
function were called multiple times).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/mpegaudio_tablegen.h