VLC has the built-in features that support to repair corrupted AVI files for free. Navigate to its Convert/Save tab, then choose Always Fix to begin.