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>
Sat, 18 Nov 2017 10:57:57 +0000 (11:57 +0100)
commit5eaaffaf64d1854493f0fe9ec822eed1b3cd9fe1
tree12979d206eb7db6f5f3a8b65eaa88810b01ffe9d
parentd073be2291e40129d107ca4573097d6d6d2dbf68
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>
libavcodec/mpegaudiodsp.c