commit | 23f4048b57b305606b55a7d9dbb6b67bcb7c5e4b | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Thu Aug 08 04:03:42 2019 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Wed Aug 28 04:57:19 2019 +0200 |
tree | ac1079f2c56b09fdcc7f14d5ac7234280075a2ee | |
parent | 401b740ccd4d1e0a12eeaf70285786a18c8a2d51 [diff] |
tweak mgcp_parse_audio_ptime_rtpmap() - move the error logging up to the actual errors. Each appear only once, no goto labels needed. - instead of strstr("rtpmap"), use osmo_str_startswith("a=rtpmap:") to more concisely trigger on the actual syntax of the audio parameters. Same for "a=ptime:". Change-Id: I730111e245da8485c1b5e8811f75d140e379cec6