ffmpeg/libswresample
Andrew Wason e9b1d5ae5e fix swr_convert buffering of packed audio
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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-21 01:57:21 +02:00
..
audioconvert.c indeo4, swresample: add some missing static/const to tables. 2012-01-08 19:11:58 +01:00
audioconvert.h swr: make audio convert code explicitely private. 2011-11-17 10:16:07 +01:00
dither.c swr: add a dither_scale parameter to tune the amplitude of the dither. 2012-04-11 13:44:48 +02:00
libswresample.v libswresample.v: add swresample* for cmdutils.c 2011-12-22 04:47:52 +01:00
Makefile swr: add dither support. 2012-04-10 19:54:41 +02:00
rematrix_template.c rematrix: add type for coefficients 2011-10-26 00:46:46 +02:00
rematrix.c swr: simplify code by using av_get_bytes_per_sample() 2012-04-11 10:02:00 +02:00
resample_template.c swr: support float & int32 in the resampler 2012-04-10 13:18:49 +02:00
resample.c swr: simplify code by using av_get_bytes_per_sample() 2012-04-11 10:02:00 +02:00
swresample_internal.h swr: add a dither_scale parameter to tune the amplitude of the dither. 2012-04-11 13:44:48 +02:00
swresample_test.c swr-test: include opt.h, this is needed for changing options for testing. 2012-04-10 19:54:42 +02:00
swresample.c fix swr_convert buffering of packed audio 2012-04-21 01:57:21 +02:00
swresample.h swr: add triangular highpass dither 2012-04-11 13:27:22 +02:00