swresample/resample: Limit filter length