diff options
author | Joshua Colp <jcolp@digium.com> | 2016-04-18 05:31:09 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-04-18 05:31:09 -0500 |
commit | c7732a2600d447b950327fe2af0ce0c0b8bd5726 (patch) | |
tree | 1aa9a384f98c035b3a102cc3dc26db21c87d8b15 /main | |
parent | 56c8182913b4df446e39ac76283dc7be355210f4 (diff) | |
parent | 64ecd41c8f432a913eb7e9fdc9be746e4b15cd8c (diff) |
Merge "Codecs: strip codec name while parsing allow/disallow options" into 13
Diffstat (limited to 'main')
-rw-r--r-- | main/format_cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/format_cap.c b/main/format_cap.c index 17ae18cd4..bf3bd1c4b 100644 --- a/main/format_cap.c +++ b/main/format_cap.c @@ -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; |