summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/play-memchunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/play-memchunk.c')
-rw-r--r--src/pulsecore/play-memchunk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pulsecore/play-memchunk.c b/src/pulsecore/play-memchunk.c
index 9132e294..65b6e825 100644
--- a/src/pulsecore/play-memchunk.c
+++ b/src/pulsecore/play-memchunk.c
@@ -57,7 +57,7 @@ static int sink_input_peek(pa_sink_input *i, pa_memchunk *chunk) {
if (c->length <= 0)
return -1;
- assert(c->memblock && c->memblock->length);
+ assert(c->memblock);
*chunk = *c;
pa_memblock_ref(c->memblock);
@@ -122,7 +122,5 @@ int pa_play_memchunk(
pa_memblock_ref(chunk->memblock);
- pa_sink_notify(si->sink);
-
return 0;
}