'Captain Marvel' has been soaring high at the box office, making $455 million (€404 million) in sales last weekend when it opened.

It's unlikely that a different ending would have made 'Captain Marvel' any less successful. Still it's always interesting to contemplate what might have been.

The superhero movie's editor, Debbie Berman, recently revealed that the finale to the movie was changed.

While the final product isn't too dissimilar to what was originally planned, the reasons for the change make total sense.

Berman told Entertainment Tonight:

"I did actually suggest some tweaks to the ending of this film. It used to end with Carol flying off into space alone, and I found that a bit jarring. Like, where exactly was she going? And what was she doing?

"It felt like we needed a stronger visual to assert a more specific justification for her leaving and disappearing for so many years.

"So we added Talos and his family in their spaceship waiting for her, and they all fly off together."

She explained: "It gave her more of a sense of purpose and made it easier to believe that she left her newfound life on Earth because she was with a friend we knew she cared about, and for a more specific mission.

"It gave more resonance and closure to her final moment in the film."

Check out our interviews with the stars - including Brie Larson and Samuel L Jackson - and directors of the film here.