]> git.ipfire.org Git - thirdparty/zstd.git/commit
use ZSTD_decodingBufferSize_min() inside ZSTD_decompressStream()
authorYann Collet <cyan@fb.com>
Sat, 9 Sep 2017 21:37:28 +0000 (14:37 -0700)
committerYann Collet <cyan@fb.com>
Sat, 9 Sep 2017 21:37:28 +0000 (14:37 -0700)
commitb3f33ccfb3b4fcc73df82126fd5ecfb751268fc6
tree3e970c7e5ec00c120c5d5f29e753c683d57b8b85
parent058ed2ad3349187e985a481b6db654952729c307
use ZSTD_decodingBufferSize_min() inside ZSTD_decompressStream()

Use same definition as public one
minor : reduce allocated buffer size in some cases
(when frameContentSize is known and == windowSize)
lib/decompress/zstd_decompress.c
tests/zstreamtest.c