diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-04 15:33:41 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-04 15:33:41 +0200 |
commit | cd5afb80f791f10d82519aed6f9e4ffabea1b5c9 (patch) | |
tree | 3d51c2f5ee51cd7f446673f442b3a10846301882 /src/pulsecore/play-memblockq.c | |
parent | 5f69b5d7fd84fbbd2db84178985db3ada11b683f (diff) |
don't hit an assert if when process_rewind() is called with nbytes=0
Diffstat (limited to 'src/pulsecore/play-memblockq.c')
-rw-r--r-- | src/pulsecore/play-memblockq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pulsecore/play-memblockq.c b/src/pulsecore/play-memblockq.c index 8b3e79b9..86edfe98 100644 --- a/src/pulsecore/play-memblockq.c +++ b/src/pulsecore/play-memblockq.c @@ -146,7 +146,6 @@ static void sink_input_process_rewind_cb(pa_sink_input *i, size_t nbytes) { memblockq_stream *u; pa_sink_input_assert_ref(i); - pa_assert(nbytes > 0); u = MEMBLOCKQ_STREAM(i->userdata); memblockq_stream_assert_ref(u); |