mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 17:29:20 +00:00
fix crash when calling set_play_file() while the call isn't yet established.
This commit is contained in:
parent
5346dfccb6
commit
2097e06808
1 changed files with 1 additions and 1 deletions
|
|
@ -3133,7 +3133,7 @@ void linphone_core_set_play_file(LinphoneCore *lc, const char *file){
|
|||
}
|
||||
if (file!=NULL) {
|
||||
lc->play_file=ms_strdup(file);
|
||||
if (lc->audiostream)
|
||||
if (lc->audiostream->ticker)
|
||||
audio_stream_play(lc->audiostream,file);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue