playing avis on tp7 and using jpegs.

I need some sources on playing avi files on pascal.
And a souce that decompress jpegs to memory.
Thanks

Black.Sha...@mail.telepac.pt