summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-06-27 00:28:42 +0200
committerLennart Poettering <lennart@poettering.net>2008-06-27 00:28:42 +0200
commit2b764d429425bfe30879bca2bca0cbe6c83965e0 (patch)
tree4d781d17eb68ebbd39acc081cd271b79a7f2044d
parent06ab488f7338d41b749320f60b86f22dcb848514 (diff)
fix crash when using sync'ed streams
-rw-r--r--src/pulsecore/sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index 0866829a..74971035 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -1054,8 +1054,8 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
* we can safely access data outside of thread_info even
* though it is mutable */
- pa_assert(!i->thread_info.sync_prev);
- pa_assert(!i->thread_info.sync_next);
+ pa_assert(!i->sync_prev);
+ pa_assert(!i->sync_next);
if (i->thread_info.sync_prev) {
i->thread_info.sync_prev->thread_info.sync_next = i->thread_info.sync_prev->sync_next;