Jpeg-ls is a project mainly written in C, it's free.
Open source implementation of the ITU-T T.87 recommendation