diff options
author | kulikov <kulikov@yandex-team.ru> | 2022-02-10 16:49:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:34 +0300 |
commit | c707901605d7b7c6cba0998cd52e1ae619c97762 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/streams/brotli/brotli.cpp | |
parent | 65e5266709e7ff94b14ae128309e229de714b0df (diff) | |
download | ydb-c707901605d7b7c6cba0998cd52e1ae619c97762.tar.gz |
Restoring authorship annotation for <kulikov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/streams/brotli/brotli.cpp')
-rw-r--r-- | library/cpp/streams/brotli/brotli.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/streams/brotli/brotli.cpp b/library/cpp/streams/brotli/brotli.cpp index a5536eff994..38052cb6882 100644 --- a/library/cpp/streams/brotli/brotli.cpp +++ b/library/cpp/streams/brotli/brotli.cpp @@ -139,7 +139,7 @@ public: ui8* outBuffer = static_cast<ui8*>(buffer); size_t availableOut = size; - size_t decompressedSize = 0; + size_t decompressedSize = 0; BrotliDecoderResult result; do { @@ -163,7 +163,7 @@ public: &outBuffer, nullptr); - decompressedSize = size - availableOut; + decompressedSize = size - availableOut; SubstreamFinished_ = (result == BROTLI_DECODER_RESULT_SUCCESS); if (result == BROTLI_DECODER_RESULT_ERROR) { @@ -175,7 +175,7 @@ public: "Buffer passed to read in Brotli decoder is too small"); break; } - } while (decompressedSize == 0 && result == BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT && !InputExhausted_); + } while (decompressedSize == 0 && result == BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT && !InputExhausted_); if (!SubstreamFinished_ && decompressedSize == 0) { ythrow yexception() << "Input stream is incomplete"; |