Fix Broken AVI Files
If you try to play a broken AVI files, you will have this dialog :
Like it says : you can play as is or temporary repair the file, but you can't fix this problem definitively.
Try Virtualdub if you want to.
If you need any help on using Virtualdub, then you can read this forum post.