The superstar made her big-screen debut at age 5, playing the daughter of her real-life dad, Jon Voight.

“Lookin’ to Get Out” — a Las Vegas comedy by “Coming Home” director Hal Ashby — was released nearly two years after it was shot in 1980 on a budget of $17 million. But it was a huge critical and box-office failure — selling less than a million dollars worth of tickets — and has never been available on video until tomorrow’s DVD release of the newly edited version.

The release is largely due to the efforts of Voight — who a couple of years ago learned Ashby had secretly re-edited the film before his death in 1988 — and to the fame of Jolie.

“Hal was working on two other films at the time [of the movie’s release], and there was a lot of drama,” Voight told The Post.

“Our film was handed over to other editors, and the result was a crippled movie. We were very hurt by the reception.”

Jolie’s scene with Voight lasts just over a minute. He explains to the child that he’s wearing bandages because he crossed against traffic and that he comes from New York.

The girl replies that the man she believes is her father — Ann-Margret’s male companion in the movie, played by Richard Bradford — “visits New York” a lot.

“I was a co-writer and co-producer, so I had a lot to say about the casting,” said Voight, 70.

“Angie was terrific, very well-prepared. I wasn’t looking for any signs whether she’d be an actress,” he said.

Ashby was also an Oscar-winning editor for “In the Heat of the Night.” His version of “Lookin’ to Get Out” for DVD has been extensively re-edited, with alternate takes and 15 minutes added from the theatrical version.

“Hal’s hand is in every single frame,” Voight said. “Finally, this is the film he intended. It’s like a message in a bottle.”