[pulseaudio-discuss] [PATCH 09/10] resampler: Drop redundant assignment in convert_from_work_format()
Peter Meerwald
pmeerw at pmeerw.net
Wed Jan 30 02:04:04 PST 2013
From: Peter Meerwald <p.meerwald at bct-electronic.com>
r->from_work_format_buf.length is set twice
Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
---
src/pulsecore/resampler.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
index a13e700..6c3b1f0 100644
--- a/src/pulsecore/resampler.c
+++ b/src/pulsecore/resampler.c
@@ -1277,8 +1277,6 @@ static pa_memchunk *convert_from_work_format(pa_resampler *r, pa_memchunk *input
pa_memblock_release(input->memblock);
pa_memblock_release(r->from_work_format_buf.memblock);
- r->from_work_format_buf.length = r->o_fz * n_frames;
-
return &r->from_work_format_buf;
}
--
1.7.9.5
More information about the pulseaudio-discuss
mailing list