From 5995c5579c3ca3df07c929e109cc458de3b1a367 Mon Sep 17 00:00:00 2001 From: LongestDistance Date: Wed, 30 Oct 2024 15:34:36 +0000 Subject: [PATCH] =?UTF-8?q?update=20service/src/session/src/stream/src/loc?= =?UTF-8?q?al/src/local=5Fdata=5Fsource.cpp.=20fix=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: LongestDistance --- .../session/src/stream/src/local/src/local_data_source.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/session/src/stream/src/local/src/local_data_source.cpp b/service/src/session/src/stream/src/local/src/local_data_source.cpp index 16d481e..9cd1de5 100644 --- a/service/src/session/src/stream/src/local/src/local_data_source.cpp +++ b/service/src/session/src/stream/src/local/src/local_data_source.cpp @@ -146,12 +146,12 @@ int32_t LocalDataSource::GetSize(int64_t &size) { if (fileLength_ > 0) { size = fileLength_; - return return 0; // 表示 MSERR_OK = 0 + return 0; // 表示 MSERR_OK = 0 } // requestLength fileLength_ = channelClient_->RequestFileLength(fileId_); size = fileLength_; - return return 0; // 表示 MSERR_OK = 0 + return 0; // 表示 MSERR_OK = 0 } bool LocalDataSource::OnBytesReceived(const std::string &fileId, const uint8_t *bytes, int64_t offset, int64_t length)