]> git.ipfire.org Git - thirdparty/zstd.git/commit
changed frameContentSize field to pledgedSrcSizePlusOne
authorYann Collet <cyan@fb.com>
Fri, 16 Jun 2017 20:29:17 +0000 (13:29 -0700)
committerYann Collet <cyan@fb.com>
Fri, 16 Jun 2017 20:29:17 +0000 (13:29 -0700)
commita0ba849fe6b8914ee8042714739ee33dad6b653c
tree3d049ac0c490e300b8fadf63d2c6c790adf53650
parent2cf7755da7d87956b02833f49d069cf955710d2e
changed frameContentSize field to pledgedSrcSizePlusOne

pledgedSrcSize is proper : it's a promise, not yet fulfilled.
It will be controlled at the end.

PlusOne is meant to have 0 (default) == unknown
lib/compress/zstd_compress.c