Merge "Codecs: strip codec name while parsing allow/disallow options" into 13

This commit is contained in:
Joshua Colp
2016-04-18 05:31:09 -05:00
committed by Gerrit Code Review

View File

@@ -376,7 +376,7 @@ int ast_format_cap_update_by_allow_disallow(struct ast_format_cap *cap, const ch
}
while ((this = strsep(&parse, ",|"))) {
while ((this = ast_strip(strsep(&parse, ",|")))) {
int framems = 0;
struct ast_format *format = NULL;