summaryrefslogtreecommitdiff
path: root/libswresample/resample.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2014-06-18 07:26:03 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-18 14:15:52 +0200
commitcbf21628a5e56914c74c811c5663975990f56f77 (patch)
treebe6dd810f9247a5f551aaceb6592407db913fc4d /libswresample/resample.h
parent076ab9f7e3b1f4a02d31bba2b8e55407f5deff17 (diff)
swr: remove div/mod from DSP functions.
Also fix a bug with resample_compensation resetting dst_incr. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/resample.h')
-rw-r--r--libswresample/resample.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswresample/resample.h b/libswresample/resample.h
index b159c7b432..b484ceb328 100644
--- a/libswresample/resample.h
+++ b/libswresample/resample.h
@@ -39,6 +39,8 @@ typedef struct ResampleContext {
int filter_alloc;
int ideal_dst_incr;
int dst_incr;
+ int dst_incr_div;
+ int dst_incr_mod;
int index;
int frac;
int src_incr;