mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 04:16:43 +00:00
Merge "Codecs: strip codec name while parsing allow/disallow options"
This commit is contained in:
@@ -342,7 +342,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user