Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IMG_webp.c: update to accomodate libwebp abi changes since v0.1.99:
libwebp < v0.1.99 is incompatible with current versions of the library because the decode function signatures have changed to use size_t over int/uint32_t. so, add compile time checks for (WEBP_DECODER_ABI_VERSION < 0x0100) in order to properly define the function pointers. WEBP_DECODER_ABI_VERSION values are from decoder.h header, as found in libwebp git tags at: https://chromium.googlesource.com/webm/libwebp/+refs 0x0100 corresponds to the abi version in 0.1.99 prerelease version.
- Loading branch information
Showing
1 changed file
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters