Fix an imlicit declaration

This commit is contained in:
François Grisez 2015-11-19 14:47:16 +01:00
parent 8121587aa3
commit 5f0d265abf

View file

@ -1960,7 +1960,7 @@ static void audioRouteChangeListenerCallback(void *inUserData, // 1
// Finally we can make the call
LinphoneProxyConfig *proxyCfg;
linphone_core_get_default_proxy(theLinphoneCore, &proxyCfg);
LinphoneCallParams *lcallParams = linphone_core_create_default_call_parameters(theLinphoneCore);
LinphoneCallParams *lcallParams = linphone_core_create_call_params(theLinphoneCore, NULL);
if ([self lpConfigBoolForKey:@"edge_opt_preference"] && (self.network == network_2g)) {
LOGI(@"Enabling low bandwidth mode");
linphone_call_params_enable_low_bandwidth(lcallParams, YES);