First, have a very private and honest conversation with your boss.
Way back in my first job, one colleague got a couple of promotions off the back of my work, and I didn't know how to deal with it. When I left, he wished me luck and I pointed out to him that I really didn't care much what he wished for, and went on to explain why. He was devastated. He genuinely didn't even realise he'd done that to me.
I swore there and then I wouldn't stay quiet again.
However, there is a time and a place. Don't compete in the meeting. Speak to him privately afterwards. He might apologise and never do it again. This has worked for me.
Or he might try to justify his actions, claim that as your boss, he is ultimately responsible for everything good you do. This is garbage. A good boss gives credit to the team and accepts responsibility for failure. This builds loyalty and, ultimately, he should let his bosses give him credit for giving you an environment in which to flourish.
Which leaves two possibilities: either he's a bad boss or his bosses are bad and encourage this kind of attitude (by failing to give him credit for doing his job -- managing).
Either way, you need to make yourself and your successes more visible. Your boss is being passive-aggressive. The best counter to that is to be assertive. Not aggressive (don't challenge your boss directly), not passive (don't just let it happen until he needs to throw you under a bus), not passive-aggressive (never play your boss at that game, he has more opportunity than you do), but be assertive.
Catch your boss's bosses in the corridor or at the water cooler and say "Hey, John never told me, were you happy with that thing I did?" or "Hey, if you ever need such and such and John isn't around, come to me directly." That kind of thing.
Imply nothing, just sell yourself. The implications will be obvious, if your boss isn't doing it already.
Be clear, I don't think that bypassing your boss is ideal. Try approaching him first. But if that doesn't work then you're not in an ideal situation and you have to act accordingly, otherwise you're going to be left with a choice of quitting or waiting til you're forced out to protect your boss.