avsdemux: check for corrupted data