mirror of https://github.com/FFmpeg/FFmpeg.git
The only thing missing for this is to make ff_mpadsp_init_x86() thread-safe; it currently isn't because a static table is initialized every time ff_mpadsp_init() is called (when ARCH_X86 is true). Solve this by initializing this table only once, namely together with the ordinary not-arch specific tables. This also allows to reuse their AVOnce. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/358/head
parent
b9c1ab8907
commit
ead3134150
3 changed files with 10 additions and 3 deletions
Loading…
Reference in new issue