]> git.ipfire.org Git - thirdparty/zstd.git/commit
ZSTD_initCStream_srcSize() considers "0" to mean "unknown"
authorYann Collet <cyan@fb.com>
Thu, 7 Dec 2017 22:13:10 +0000 (17:13 -0500)
committerYann Collet <cyan@fb.com>
Thu, 7 Dec 2017 22:13:10 +0000 (17:13 -0500)
commitc029ee1f0bc464754c899deb2f5f0a2f16f895e4
tree076b0d766eeaa9aa744ceb239605279339618729
parent21f7672d43549e1f87b879fb8a14ac1a4fabc266
ZSTD_initCStream_srcSize() considers "0" to mean "unknown"

to not break existing programs relying on this behavior.
Might be changed to mean "empty" in the future.
lib/compress/zstd_compress.c
lib/zstd.h