libjpeg crash when supplying user colormap

topic posted Fri, November 3, 2006 - 1:19 PM by  cpr
Share/Save/Bookmark
Advertisement
So, this isn't a c++ question (again), but this tribe seems the most useful for s/w development questions.. :)

I'm using libjpeg to decode images, but I am experiencing a strange crash when having the library deliver 8bit color data with a colormap I am supplying. The crash doesn't happen during decode, but in the libjpeg memory manager during shut down of the decoder (both jpeg_abort() and jpeg_destroy_decompress()). I've tried not using the libjpeg allocator for the colormap memory, but that doesn't change the behaviour.. any tips would be appreciated..

peace
-cpr
posted by:
cpr
offline cpr
SF Bay Area
Advertisement
Advertisement