Buddha is not an avatar of Vishnu. Buddhism did not originate from Hinduism. These are Hindu myths.
Read this post on indiafirsthand.com