mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
raop: Do not flush when RTSP object is not ready
This patch fixes a crash issue reported at https://github.com/hfujita/pulseaudio-raop2/issues/9
This commit is contained in:
parent
f4bd06bfa5
commit
751d88717e
1 changed files with 1 additions and 1 deletions
|
|
@ -1596,7 +1596,7 @@ int pa_raop_client_flush(pa_raop_client *c) {
|
|||
|
||||
pa_assert(c);
|
||||
|
||||
if (!c->rtsp) {
|
||||
if (!c->rtsp || !pa_rtsp_exec_ready(c->rtsp)) {
|
||||
pa_log_debug("Cannot FLUSH, connection not established yet...)");
|
||||
return 0;
|
||||
} else if (!c->sci) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue