dropbox / lepton

Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
https://blogs.dropbox.com/tech/2016/07/lepton-image-compression-saving-22-losslessly-from-images-at-15mbs/
Apache License 2.0
5.01k stars 355 forks source link

Fix posix_memalign call #67

Closed jas14 closed 8 years ago

jas14 commented 8 years ago

posix_memalign signature is:

int posix_memalign(void **memptr, size_t alignment, size_t size);

Updated the file to reflect this. make with CXXFLAGS=-g -O2 -DUSE_STANDARD_MEMORY_ALLOCATORS now succeeds (although actually using the tool with standard memory allocators is a different story...)