diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-17 05:34:30 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-17 16:02:49 +0700 |
commit | 7f1b503ec218a6194f6b2008d8e4d0110301fef4 (patch) | |
tree | ec53d58c6ef155e4f91486fe1b0f0d0c5b003d07 /libavformat/vpcc.c | |
parent | ee575acb8c8ca7a688dc22c54ed667201869f909 (diff) | |
download | ffmpeg-7f1b503ec218a6194f6b2008d8e4d0110301fef4.tar.gz |
swresample/resample: do not increase phase_count on exact_rational
high phase_count is only useful when dst_incr_mod is non zero
in other word, it is only useful on soft compensation
on init, it will build filter with low phase_count
but when soft compensation is enabled, rebuild filter
with high phase_count
this approach saves lots of memory
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavformat/vpcc.c')
0 files changed, 0 insertions, 0 deletions