diff options
-rw-r--r-- | src/pulsecore/play-memchunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/play-memchunk.c b/src/pulsecore/play-memchunk.c index a5ba949b..419d523f 100644 --- a/src/pulsecore/play-memchunk.c +++ b/src/pulsecore/play-memchunk.c @@ -130,7 +130,7 @@ static void sink_input_drop_cb(pa_sink_input *i, size_t length) { u = MEMCHUNK_STREAM(i->userdata); memchunk_stream_assert_ref(u); - if (length >= u->memchunk.length) { + if (length < u->memchunk.length) { u->memchunk.length -= length; u->memchunk.index += length; } else |