summaryrefslogtreecommitdiffstats
path: root/src/polyp/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp/stream.c')
-rw-r--r--src/polyp/stream.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/polyp/stream.c b/src/polyp/stream.c
index 2c4e882c..c67b3e51 100644
--- a/src/polyp/stream.c
+++ b/src/polyp/stream.c
@@ -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;