mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
ignore if we recieved a memory block for an invalid stream, since this might happen unwillingly due to the asychnronous nature of the protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1241 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
72cf2118df
commit
abbabd848a
1 changed files with 1 additions and 1 deletions
|
|
@ -2201,7 +2201,7 @@ static void pstream_memblock_callback(pa_pstream *p, uint32_t channel, int64_t o
|
||||||
|
|
||||||
if (!(stream = pa_idxset_get_by_index(c->output_streams, channel))) {
|
if (!(stream = pa_idxset_get_by_index(c->output_streams, channel))) {
|
||||||
pa_log(__FILE__": client sent block for invalid stream.");
|
pa_log(__FILE__": client sent block for invalid stream.");
|
||||||
connection_free(c);
|
/* Ignoring */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue