diff options
author | Muhammad Faiz <[email protected]> | 2016-06-17 05:34:30 +0700 |
---|---|---|
committer | Muhammad Faiz <[email protected]> | 2016-06-17 16:02:49 +0700 |
commit | 7f1b503ec218a6194f6b2008d8e4d0110301fef4 (patch) | |
tree | ec53d58c6ef155e4f91486fe1b0f0d0c5b003d07 /libavcodec/startcode.c | |
parent | ee575acb8c8ca7a688dc22c54ed667201869f909 (diff) |
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 <[email protected]>
Signed-off-by: Muhammad Faiz <[email protected]>
Diffstat (limited to 'libavcodec/startcode.c')
0 files changed, 0 insertions, 0 deletions