The film is based on the life of former India skipper Mohammad Azharuddin.
When asked if he is playing Shastri in the movie, he said, "Yes, I am doing the film. But I am not allowed to speak anything.
"I can't talk about the project in detail," Gautam, who shot to fame after stint in "Bigg Boss", told PTI.
Actor Emraan Hashmi is playing the role of Azharuddin in the biopic.
According to sources, Gautam has been chosen to do the role of Shastri as he fits the bill.
Apparently, the film features actress Prachi Desai and Nargis Fakhri as Azhar's two wives Naureen and Sangeeta Bijlani, respectively.
