Houston Rockets center Yao Ming is considering quitting basketball after next season if he doesn't fully recover from his lingering foot injury.