Open VLC and head to Tools > Preferences. Under Input / Codecs, look for the Files section. Under the Damaged or incomplete AVI file dropdown, choose Always Fix.