mirror of
https://github.com/google/brotli.git
synced 2024-11-22 11:40:06 +00:00
Fix C -> C++
This commit is contained in:
parent
8c5ab0f342
commit
f40caec7d1
@ -585,8 +585,8 @@ bool BrotliCompressor::WriteBrotliData(const bool is_last,
|
||||
const uint32_t mask = ringbuffer_->mask();
|
||||
|
||||
/* Adding more blocks after "last" block is forbidden. */
|
||||
if (s->is_last_block_emitted_) return false;
|
||||
if (is_last) s->is_last_block_emitted_ = 1;
|
||||
if (is_last_block_emitted_) return false;
|
||||
if (is_last) is_last_block_emitted_ = 1;
|
||||
|
||||
if (delta > input_block_size()) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user