summaryrefslogtreecommitdiffstats
path: root/polyp/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/sink.c')
-rw-r--r--polyp/sink.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/polyp/sink.c b/polyp/sink.c
index 6d3b59c7..8133d65a 100644
--- a/polyp/sink.c
+++ b/polyp/sink.c
@@ -197,7 +197,10 @@ int pa_sink_render(struct pa_sink*s, size_t length, struct pa_memchunk *result)
unsigned n;
size_t l;
int r = -1;
- assert(s && s->ref >= 1 && length && result);
+ assert(s);
+ assert(s->ref >= 1);
+ assert(length);
+ assert(result);
pa_sink_ref(s);