I ported Continuity fixer to vapousynth about a month ago.
For those who don't know this avs filter, it help repairing damaged borders of video frames, often used for inverse kernel downscaling when you have some dead pixel at the borders.
I moved the code to github just because, you'll find all the information there.
https://github.com/MonoS/VS-ContinuityFixer
Thanks
Mirkosp, JEEB, HolyWu, jackoneill and Myrsloik