[PATCHv2] resampler: Clean up ffmpeg resampler buffering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2013-11-29 at 15:33 +0100, Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
> 
> buf in struct ffmpeg is reset() initially and freed, but never actually used
> 
> when a new block is allocated ffmpeg_data->buf[c].length is used (which is always 0)
> to compute the new block size
> 
> so, drop buf
> 
> Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
> ---
> follow-up from http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/17632
> 
>  src/pulsecore/resampler.c |   12 +-----------
>  1 file changed, 1 insertion(+), 11 deletions(-)

Thanks! Applied.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux