TT#91003 fix AMR fmtp parsing

Change-Id: I0259292f7150a639b79dae4ce11c54ff5a5d6ee8
pull/1077/head
Richard Fuchs 6 years ago
parent 55cccecb09
commit f48929fe68

@ -1524,6 +1524,9 @@ static void amr_set_encdec_options(codec_options_t *opts, const str *fmtp, const
while (str_token_sep(&token, &s, ';') == 0) {
if (str_token(&key, &token, '='))
continue;
while (key.len && key.s[0] == ' ')
str_shift(&key, 1);
if (!str_cmp(&key, "octet-align")) {
if (token.len == 1 && token.s[0] == '1')
opts->amr.octet_aligned = 1;

Loading…
Cancel
Save