mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix NULL pointer dereference in video stats display
This commit is contained in:
parent
ea7d048906
commit
e53bc9209d
1 changed files with 3 additions and 1 deletions
|
|
@ -91,7 +91,9 @@ NSTimer *callQualityRefresher;
|
|||
- (void) updateCallQualityIndicator
|
||||
{
|
||||
LinphoneCall* call = linphone_core_get_current_call([LinphoneManager getLc]);
|
||||
|
||||
if (!call)
|
||||
return;
|
||||
|
||||
if (linphone_call_get_average_quality(call) >= 4) {
|
||||
[mCallQuality setImage: [UIImage imageNamed:@"stat_sys_signal_4.png"]];
|
||||
[mCallQualityLandRight setImage: [UIImage imageNamed:@"stat_sys_signal_4.png"]];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue