(Hevc): Fix bug with types.