After day 3, South Africa are able to collect 118 and lose only 2. But I think till now both teams have a chance to win.
Since South Africa still needs 122 runs to win. It is not less. The match could go under Indian control in the first session tomorrow. Tomorrow, if the Indian bowlers are able to pick up 2 wickets quickly, then the match will be under the control of India. Because the lower order players in South Africa are not experienced. The Indian bowlers will not have much trouble getting them out.
Honestly I was not expecting such performance from SA in second innings. They are very much in the game and first session of tomorrow's play will decide who is going to win this game. India need wickets in quick succession while SA need there batsman to stay on pitch.