hevc: add error resilience