diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-16 00:17:35 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-21 05:18:21 +0700 |
commit | 6031e5d1af934727e7a014b521aa8303f669a2f3 (patch) | |
tree | c7e7feb5c82dffa6b4ab8f7f8016c9d227deb848 /libswresample/resample.c | |
parent | d0bde818acc7de44140a2ebfb52e3556e2eb47c9 (diff) | |
download | ffmpeg-6031e5d1af934727e7a014b521aa8303f669a2f3.tar.gz |
swresample/x86: add support for exact_rational
phase_shift and phase_mask is removed
generally exact_rational=on is faster than exact_rational=off
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libswresample/resample.c')
-rw-r--r-- | libswresample/resample.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libswresample/resample.c b/libswresample/resample.c index e340420096..b834248167 100644 --- a/libswresample/resample.c +++ b/libswresample/resample.c @@ -349,8 +349,6 @@ static ResampleContext *resample_init(ResampleContext *c, int out_rate, int in_r goto error; } - c->phase_shift = phase_shift; - c->phase_mask = phase_count - 1; c->phase_count = phase_count; c->linear = linear; c->factor = factor; |