summaryrefslogtreecommitdiff
path: root/src/modules/oss/module-oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/oss/module-oss.c')
-rw-r--r--src/modules/oss/module-oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/oss/module-oss.c b/src/modules/oss/module-oss.c
index 3d7941258..c4746ca97 100644
--- a/src/modules/oss/module-oss.c
+++ b/src/modules/oss/module-oss.c
@@ -891,7 +891,7 @@ static void thread_func(void *userdata) {
/* pa_log("loop"); */
- if (u->sink && u->sink->thread_info.rewind_requested)
+ if (PA_UNLIKELY(u->sink && u->sink->thread_info.rewind_requested))
pa_sink_process_rewind(u->sink, 0);
/* Render some data and write it to the dsp */