From 4e77f7761da1b4b35222ac75bd10b1c8c8dcea0d Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 13 Jul 2017 02:09:07 -0700 Subject: [PATCH] clarified comment on ZSTD_p_contentSizeFlag --- lib/zstd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index 291c6df25..a2a756dfc 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -955,7 +955,9 @@ typedef enum { * Special: value 0 means "do not change strategy". */ /* frame parameters */ - ZSTD_p_contentSizeFlag=200, /* Content size is written into frame header _whenever known_ (default:1) */ + ZSTD_p_contentSizeFlag=200, /* Content size is written into frame header _whenever known_ (default:1) + * note that content size must be known at the beginning, + * it is sent using ZSTD_CCtx_setPledgedSrcSize() */ ZSTD_p_checksumFlag, /* A 32-bits checksum of content is written at end of frame (default:0) */ ZSTD_p_dictIDFlag, /* When applicable, dictID of dictionary is provided in frame header (default:1) */