libswresample: introduce int swr_set_compensation() instead of void swr_compensate()
authorMarton Balint <cus@passwd.hu>
Mon, 9 Jan 2012 00:42:38 +0000 (01:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Jan 2012 03:16:06 +0000 (04:16 +0100)
commit741aca793623afeff1d18816f416cc65104b7ef9
tree50059d3289edecf10112d626c4c821c72847c440
parent3e9668501dea070c0a1bd6c721eab1af09b26339
libswresample: introduce int swr_set_compensation() instead of void swr_compensate()

The new version returns AVERROR(EINVAL) is the specified paramters are invalid,
and also creates the resampler if none was used so far.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
libswresample/resample.c
libswresample/swresample.h