aac: Make codec init run under ff_thread_once
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 14 Oct 2015 18:24:35 +0000 (14:24 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 15 Oct 2015 18:00:24 +0000 (14:00 -0400)
commit504e3f75bf73a488d39a80a42962bae2a353dd6b
treec4e465f8b8febe26e0f782ed7874dcbfebdccff3
parent1f84b008bf2b1eaca473937c48788cb4e4ce1aea
aac: Make codec init run under ff_thread_once

This makes AAC init threadsafe.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/aacdec.c