libfdk-aacdec: Clean up properly if the init fails
Previously most of the error paths leaked.
Also add FF_CODEC_CAP_INIT_THREADSAFE while adding caps_internal;
this decoder wrapper doesn't have any static data that is initialized.
Signed-off-by: NMartin Storsjö <martin@martin.st>
Showing
想要评论请 注册 或 登录