summaryrefslogtreecommitdiffstats
path: root/o3d/import/cross/targz_processor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/import/cross/targz_processor.cc')
-rw-r--r--o3d/import/cross/targz_processor.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/o3d/import/cross/targz_processor.cc b/o3d/import/cross/targz_processor.cc
index a2a4ba8..5fb1275 100644
--- a/o3d/import/cross/targz_processor.cc
+++ b/o3d/import/cross/targz_processor.cc
@@ -57,10 +57,13 @@ TarGzProcessor::TarGzProcessor(ArchiveCallbackClient *callback_client)
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
-int TarGzProcessor::ProcessCompressedBytes(MemoryReadStream *stream,
- size_t bytes_to_process) {
- int result = gz_decompressor_.ProcessBytes(stream, bytes_to_process);
- return result;
+StreamProcessor::Status TarGzProcessor::ProcessBytes(MemoryReadStream *stream,
+ size_t bytes_to_process) {
+ return gz_decompressor_.ProcessBytes(stream, bytes_to_process);
+}
+
+void TarGzProcessor::Close(bool success) {
+ gz_decompressor_.Close(success);
}
} // namespace o3d