summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-09 15:16:12 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-09 15:16:12 +0000
commit26870176bae0b56d844aadedcfa1888e0c68e378 (patch)
treeecf0ca5da17354447935138fdd8c4a447cc42376
parent9efc2062d6eabdee79be62a248f006eba813f75d (diff)
fix handling of timing status requests
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@836 fefdeb5f-60dc-0310-8127-8f9354f1896f
-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;