The A10-7870 processor uses the FM2+ socket. But, upgrading a processor is dependent on motherboard and BIOS compatibility. See the QVL list for your motherboard on the manufacturers website.
You can gain even greater performance by upgrading to the new Ryzen 2xxx series processor, but that also requires building a new system using the new AM4 socket motherboard and DDR4 RAM.
Here is the link to the system requirements for Adobe After Affects. After Effects System Requirements
According to the Adobe web site the newest After Affects program requires an Intel processor.