Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libjpeg-turbo
/
29d8f253f84e678d7f475a5418bfcd41b7baf74f
/
jdatadst-tj.c
90215cc
Fix memory leak in new TurboJPEG auto-reallocation mode
by DRC
· 13 years ago
9b28def
Completely refactored the TurboJPEG C API so that it uses pixel formats instead of the clunky pixel size + flags combination to define the pixel size and component order. tjCompress2() and tjTransform() can also now grow the JPEG buffer as needed, which can allow programs to save memory by not pre-allocating the "worst-case" buffer size calculated by TJBUFSIZE(). Converted API documentation to Doxygen. There is no legacy code remaining, so the refactored version of the library has been re-licensed under a BSD-style license.
by DRC
· 13 years ago