summaryrefslogtreecommitdiff
path: root/res/res_format_attr_h263.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_format_attr_h263.c')
-rw-r--r--res/res_format_attr_h263.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_format_attr_h263.c b/res/res_format_attr_h263.c
index 22f1936e4..f5eef9386 100644
--- a/res/res_format_attr_h263.c
+++ b/res/res_format_attr_h263.c
@@ -158,6 +158,8 @@ static struct ast_format *h263_parse_sdp_fmtp(const struct ast_format *format, c
while ((attrib = strsep(&attribs, ";"))) {
unsigned int val, val2 = 0, val3 = 0, val4 = 0;
+ attrib = ast_strip(attrib);
+
if (sscanf(attrib, "SQCIF=%30u", &val) == 1) {
attr->SQCIF = val;
} else if (sscanf(attrib, "QCIF=%30u", &val) == 1) {