]> git.ipfire.org Git - thirdparty/asterisk.git/commit
format_cap: Don't append the 'none' format when appending all. 11/1611/3
authorJoshua Colp <jcolp@digium.com>
Thu, 12 Nov 2015 12:24:06 +0000 (08:24 -0400)
committerJoshua Colp <jcolp@digium.com>
Thu, 12 Nov 2015 13:46:54 +0000 (09:46 -0400)
commit4e5bf12b33de8db9c53f571e4c4d5cb094a0d008
treeccd3c2dcfdac69b034aa0fab01f2176347726c94
parentb818d70533916aa80af7607f225e0b1e98f41648
format_cap: Don't append the 'none' format when appending all.

When appending all formats of a type all the codecs are iterated
and added. This operation was incorrectly adding the ast_format_none
format which is special in that it is supposed to be used when no
format is present. It shouldn't be appended.

ASTERISK-25535

Change-Id: I7b00f3bdf4a5f3022e483d6ece602b1e8b12827c
main/format_cap.c
tests/test_format_cap.c