summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pulsecore/resampler.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
index 3d7e5364..d645639c 100644
--- a/src/pulsecore/resampler.c
+++ b/src/pulsecore/resampler.c
@@ -1442,7 +1442,6 @@ static void peaks_resample(pa_resampler *r, const pa_memchunk *input, unsigned i
pa_assert(o_index * fz < pa_memblock_get_length(output->memblock));
-
if (r->work_format == PA_SAMPLE_S16NE) {
unsigned i, c;
int16_t *s = (int16_t*) ((uint8_t*) src + fz * j);