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>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commit50c93ce5ef71e39c5e49c8ae3873431d9d1753e1
tree83b2ecae46994bf205dc830e657a094e9644416a
parent9a00ce0ff8643111711b932443255f365a26ee98
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