mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-06 20:12:53 +01:00
4b282e13ad
with loop_compatibility disabled (the default), non-zero loop counts will be incremented by 1 for browser rendering compatibility. the max, 65535, is a special case as the muxer will fail if it is exceeded; avoid increasing the limit in this case. this isn't 100% correct, but should be close enough given the high number of iterations. BUG=webp:382 Change-Id: Icde3e98a58e9ee89604a72fafda30ab71060dec5 (cherry picked from commit af0e4fbb0669026659983691a15dad23a9f196c1)