File size 0 second length.

If PC crashes while screen recording the file is not closed properly and VLC player report 0 size, actual file size could be 4Gbytes.
Still I can play the file, but cant skip to different location.
Youtube handle this file properly.
Is there a way to fix this?