Use AV_RL32 instead of a cast.