Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Unified Diff: remoting/base/compressor_verbatim.cc

Issue 9331003: Improving the decoder pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/base/compressor_verbatim.cc
diff --git a/remoting/base/compressor_verbatim.cc b/remoting/base/compressor_verbatim.cc
index 7058b5257459d6496eb21018c8e674c3bacd0d9b..a2b24784265f56b6e268a70443b9e57a7a52fa66 100644
--- a/remoting/base/compressor_verbatim.cc
+++ b/remoting/base/compressor_verbatim.cc
@@ -26,7 +26,7 @@ bool CompressorVerbatim::Process(const uint8* input_data, int input_size,
// Since we're just a memcpy, consumed and written are the same.
*consumed = *written = bytes_to_copy;
- return true;
+ return (flush != CompressorFinish) || (output_size < bytes_to_copy);
Wez 2012/02/07 01:56:31 This looks like a fix to the CompressorVerbatim?
alexeypa (please no reviews) 2012/02/15 23:06:22 Yes. It is checked in already.
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698