I think if you watch the sequence again, this rule will apply to what happened:
It is an offence if a player:
deliberately touches the ball with their hand/arm, including moving the hand/arm towards the ball
You can actually see that, after the ball hit his thigh and then arm, he uses his arm to clear the ball.