diff --git a/src/polyp/stream.c b/src/polyp/stream.c index 2c4e882c1..c67b3e516 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;