update service/src/session/src/stream/src/local/src/local_data_source.cpp.

fix笔误

Signed-off-by: LongestDistance <cdwango@isoftstone.com>
This commit is contained in:
LongestDistance 2024-10-30 15:34:36 +00:00 committed by Gitee
parent aa3ffaba96
commit 5995c5579c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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)