Keep reading a corrupted file without crashing?

Hi,

I have this file: 00002.m2ts

It is corrupted for one second and in Kodi it crashes (going to home) but for example in VLC it keeps reading it, black screen for a second and then keep the playing without any issue.

My question (is that important to me): how to avoid that KODI crashes because a file (“m2ts” in my case) has a second (or less) corrupted?

I cannot re-code an 20GB file because there is a so small portion of it that is corrupted.

The VLC behaviour in such case is better to me, but I prefer using KODI as my default media player.

Thank you