How to extract images from corrupted avi video

I have a corrupted avi file that still has sound but the picture moves frame by frame slowly or sometimes it freezes. Would downloading a CODEC solve this or are the frames damaged and irreparable? Can I still extract images corrupted avi video? I'm on Windows xp 64 bit sp2. Thanks.
