]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_format_cap: Avoid format creation on module load, use cache instead. 90/1590/1
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 9 Nov 2015 13:04:43 +0000 (14:04 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Mon, 9 Nov 2015 13:07:37 +0000 (08:07 -0500)
commitf3ac4d8090207dd4440bf279e1d5ce4702aee314
tree6b00a1c576a1748a7bdd497da248fca3113adbbb
parent506aea26e6c67cd53874aa3ffef278524dfd7878
ast_format_cap: Avoid format creation on module load, use cache instead.

Since Asterisk 13, formats are immutable and cached. However while loading a
module like chan_sip, some formats were created instead using cached ones.

ASTERISK-25535 #close

Change-Id: I479cdc220d5617c840a98f3389b3bd91e91fbd9b
main/format_cap.c