]> code.delx.au - pulseaudio/commitdiff
fix crash when using sync'ed streams
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Jun 2008 22:28:42 +0000 (00:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 Jun 2008 22:28:42 +0000 (00:28 +0200)
src/pulsecore/sink.c

index 0866829a218d9a15876dd4d793b19c4db2d68ff1..749710355e97204c7dbbc766f4a6da21819b0d1d 100644 (file)
@@ -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;