[FFmpeg-devel] [PATCH] fix swr_convert buffering of packed audio

Michael Niedermayer michaelni at gmx.at
Sat Apr 21 02:16:20 CEST 2012

On Fri, Apr 20, 2012 at 05:06:25PM -0400, Andrew Wason wrote:
> swr_convert is not properly buffering packed input audio when the
> output is not large enough, and when resampling is not actually needed
> (same samplerate and no SWR_FLAG_RESAMPLE).
> buf_set() is only handling the first channel and leaving the others as-is.
> Sample program to reproduce the problem is here https://gist.github.com/2431768
> Patch attached.




Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120421/72f67f53/attachment.asc>

More information about the ffmpeg-devel mailing list