diff options
author | volzhs <volzhs@gmail.com> | 2019-10-27 21:29:43 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2019-10-27 21:29:43 +0900 |
commit | 074d421dca94ec4ddadfbfa62268bda219bab46c (patch) | |
tree | acec76662c787a9275c04d437fd463734ae5d4dd /thirdparty/libwebp/src/utils/huffman_utils.h | |
parent | 9e572b5bacdaeb5079415d276bbf5b8462cac9e3 (diff) | |
download | redot-engine-074d421dca94ec4ddadfbfa62268bda219bab46c.tar.gz |
Update libwebp to 1.0.3
Diffstat (limited to 'thirdparty/libwebp/src/utils/huffman_utils.h')
-rw-r--r-- | thirdparty/libwebp/src/utils/huffman_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/libwebp/src/utils/huffman_utils.h b/thirdparty/libwebp/src/utils/huffman_utils.h index ff7ef17f3b..13b7ad1ac4 100644 --- a/thirdparty/libwebp/src/utils/huffman_utils.h +++ b/thirdparty/libwebp/src/utils/huffman_utils.h @@ -78,6 +78,8 @@ void VP8LHtreeGroupsFree(HTreeGroup* const htree_groups); // the huffman table. // Returns built table size or 0 in case of error (invalid tree or // memory error). +// If root_table is NULL, it returns 0 if a lookup cannot be built, something +// > 0 otherwise (but not the table size). int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, const int code_lengths[], int code_lengths_size); |