ANSWER:
As long as you addressed Allah, this is an oath. You must abide by it as watching such stuff is prohibited even without any oath!
If you didn’t verbally utter it and it was only in your mind, you don’t need to expiate but it is still sinful. When you feed the poor people you don’t need to tell them anything.