summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/utils/huffman_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/libwebp/src/utils/huffman_utils.h')
-rw-r--r--thirdparty/libwebp/src/utils/huffman_utils.h2
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);