aacenc: fix broken build with hardcoded tables
authorRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 27 Nov 2015 21:24:42 +0000 (21:24 +0000)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 27 Nov 2015 21:24:42 +0000 (21:24 +0000)
commit6b407551588b4fc7fc9400bbdd131e692e6ae85e
tree0c5012085011ef091e0418a990b2fb50765c1f1d
parentfeb3f39614b88c113211a98dda1bc2fe5c3c6957
aacenc: fix broken build with hardcoded tables

ff_aac_tableinit is a macro in the case of hardcoded tables, so wrap
that up in a function (similar to how the decoder template does it) and
use that as the argument for ff_thread_once().

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/aacenc.c