US basketball star LeBron James might need to call Janet Jackson to get some advice on how to handle wardrobe malfunctions.

Moments before Game 4 of the showpiece NBA finals, James inadvertently exposed himself to millions watching on live television.

As James was getting ready to take to the court, an ABC camera moved in for a close-up, and got a little too close.

James was adjusting his shorts as he started to tuck in his jersey. He briefly pulled down the black compression shorts he wore under his gold game shorts as well, exposing himself to an audience that has averaged about 18.5 million viewers in the first three games of the series.

It conjured memories of Jackson's performance at half-time of the Super Bowl in 2004 when Justin Timberlake tugged at Jackson's top and briefly exposed one of the singer's breasts.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.