Use ff_thread_once for fixed, float table init.
authorDale Curtis <dalecurtis@chromium.org>
Fri, 17 Nov 2017 22:51:09 +0000 (14:51 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commit712814fb17b62557d17d0bcff5b57e2a9d8e613c
tree620ebd67049901f202a91e671854cd2fc823330d
parent20e78d53394fa56eb4bcb3be06ff70375a86dd94
Use ff_thread_once for fixed, float table init.

These tables are static so they should only be initialized once
instead of on every call to ff_mpadsp_init().

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5eaaffaf64d1854493f0fe9ec822eed1b3cd9fe1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpegaudiodsp.c