aac: Make codec init run under ff_thread_once
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 14 Oct 2015 18:25:51 +0000 (14:25 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 15 Oct 2015 17:48:55 +0000 (13:48 -0400)
commit1a29804558c13ef512d9ef73a9b0d782af4fa5f2
treebbc35b549488b63341790dd82b54fd1e7fc3f31f
parent0861862b897ade9e62064f532f3b0a957ee7a0d8
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
libavcodec/aacdec_fixed.c
libavcodec/aacdec_template.c