aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-08-01 10:52:52 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2018-08-01 10:56:59 +0200
commita406b167c19cebbdf4285c4b03dd44a34563af1b (patch)
tree130af74b9521cb32ef1e0a2e5f4f9b4c1b12d1c2 /include
parent94d30f2b25c57a5ddcbcce7e63cf3b813587c45f (diff)
endpoint_fsm: add missing return in mgcp_pick_codec
The function mgcp_pick_codec is responsible to set the codec information. In cases whee the codec type can not be determined correctly it sets verb_info->codecs_len = 0, indicating to the caller that no codocs are set. However, after that it does not return, it sets an invalid codec anyway. - Add missing return to keep the no-codec setting in case of error. Change-Id: I8d1f8553357b6ad328ab1e5d4525fad0dd282a42
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions