diff options
author | Evgenii Kliuchnikov <eustas@google.com> | 2023-08-16 08:54:37 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-08-16 08:55:14 -0700 |
commit | 0f2157cc5e7f6a28bf648738c208ca825917589a (patch) | |
tree | 3a00c2bd282a5361d3998c23cfbd0c94ad31d11d /c | |
parent | 9ff341daaf2419e7985c89ec09964c81e4e2f3da (diff) | |
download | brotli-0f2157cc5e7f6a28bf648738c208ca825917589a.zip brotli-0f2157cc5e7f6a28bf648738c208ca825917589a.tar.gz brotli-0f2157cc5e7f6a28bf648738c208ca825917589a.tar.bz2 |
Update comment; fixes #1061
PiperOrigin-RevId: 557501089
Diffstat (limited to 'c')
-rw-r--r-- | c/enc/encode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/enc/encode.c b/c/enc/encode.c index 4627ea0..0303094 100644 --- a/c/enc/encode.c +++ b/c/enc/encode.c @@ -928,8 +928,8 @@ static void ExtendLastCommand(BrotliEncoderState* s, uint32_t* bytes, If |*out_size| is positive, |*output| points to the start of the output data. If |is_last| or |force_flush| is BROTLI_TRUE, an output meta-block is always created. However, until |is_last| is BROTLI_TRUE encoder may retain up - to 7 bits of the last byte of output. To force encoder to dump the remaining - bits use WriteMetadata() to append an empty meta-data block. + to 7 bits of the last byte of output. Byte-alignment could be enforced by + emitting an empty meta-data block. Returns BROTLI_FALSE if the size of the input data is larger than input_block_size(). */ |