From 2b764d429425bfe30879bca2bca0cbe6c83965e0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jun 2008 00:28:42 +0200 Subject: fix crash when using sync'ed streams --- src/pulsecore/sink.c | 4 ++-- 1 file 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; -- cgit