If an avi file is damaged you can make it playable by using virtualdub and doing direct stream copy.
I find though that media player classic can even play damaged files and it can also adjust the ratio by pressing the arrow keys on the numeric pad while the video is playing. I was pleased when I discovered it could do this - no more having to re-encode a video because some idiot had messed up the ratio!