From 26870176bae0b56d844aadedcfa1888e0c68e378 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 9 May 2006 15:16:12 +0000 Subject: fix handling of timing status requests git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@836 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polyp/stream.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/polyp') 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; -- cgit