diff options
author | Pavel Koshevoy <pkoshevoy@gmail.com> | 2013-04-20 21:34:25 -0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-21 10:46:52 +0200 |
commit | 0c77cdb491de7a178e4142cb6a24538eec6b4f64 (patch) | |
tree | fe8b18ad10d3bc0ef6fabea23cf906115ed00b0d /libavcodec/mpeg12.c | |
parent | 5a2a0603780a6a5bb6d254e60eeb525378955b59 (diff) | |
download | ffmpeg-0c77cdb491de7a178e4142cb6a24538eec6b4f64.tar.gz |
libavfilter/af_atempo: Avoid round-off error build-up, ticket #2484
Current method for constraining fragment position drift suffers from
round-off error build up.
Instead of calculating cumulative drift as a sum of input fragment
position corrections, it is more accurate to calculate drift as the
difference between current fragment position and the ideal position
specified by the tempo scale factor.
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12.c')
0 files changed, 0 insertions, 0 deletions