mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
fix handling of timing status requests
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@836 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9efc2062d6
commit
26870176ba
1 changed files with 1 additions and 2 deletions
|
|
@ -727,9 +727,8 @@ static void stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
|
|||
|
||||
assert(pd);
|
||||
assert(o);
|
||||
assert(o->stream);
|
||||
|
||||
if (!o->context)
|
||||
if (!o->context || !o->stream)
|
||||
goto finish;
|
||||
|
||||
i = &o->stream->timing_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue