Skip to content
Snippets Groups Projects
Commit 3ba7b47d authored by Muhammad Faiz's avatar Muhammad Faiz
Browse files

swresample/resample: do not assert compensation_distance on rebuild_filter


when set_compensation is called with zero sample_delta,
compensation does not happen (because dst_incr == ideal_dst_incr)
but compensation_distance is set

regression since 01ebb57c

Found-by: default avatarwm4 <nfxjfg@googlemail.com>
Reviewed-by: default avatarwm4 <nfxjfg@googlemail.com>
Signed-off-by: default avatarMuhammad Faiz <mfcc64@gmail.com>
parent b4b8ca24
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment