resample: fix avresample_get_delay() return value
authorAnton Khirnov <anton@khirnov.net>
Tue, 4 Mar 2014 20:18:27 +0000 (21:18 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 11 Apr 2014 14:21:25 +0000 (16:21 +0200)
commitb9dea23766f52b8e059e72d34980bb7b456efe8f
tree2282563932588cb4a286ec693a6b6bfac123ab2f
parent71c32ed5335add04cbe44896f4b3d748b9b1153c
resample: fix avresample_get_delay() return value

The correct "next" input sample is not the first sample of the
resampling buffer, but the center sample of the filter_length-sized
block at the beginning.

CC:libav-stable@libav.org
libavresample/resample.c