!57 适配64位

Merge pull request !57 from 李自然/N/A
This commit is contained in:
李自然 2024-04-02 02:56:20 +00:00 committed by Gitee
commit 28d0ab2e67
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 2 deletions

View File

@ -50,7 +50,6 @@ bool FillCastRemoteDevices(MessageParcel &data, const std::vector<CastRemoteDevi
return false;
}
if (!data.WriteInt32(static_cast<int32_t>(size))) {
CLOGE("Failed to write the device size:%u", size);
return false;
}
for (auto &device : devices) {

View File

@ -121,7 +121,6 @@ int32_t LocalDataSource::ReadAt(uint32_t length, const std::shared_ptr<Media::AV
int32_t LocalDataSource::ReadBuffer(uint8_t *data, uint32_t length, int64_t pos)
{
CLOGD("ReadBuffer length = %{public}d pos = %{public}lld", length, pos);
if (pos >= fileLength_) {
CLOGE("ReadAt EOF, pos:%{public}" PRId64 " fileLength_:%{public}" PRId64, pos, fileLength_);
return Media::SOURCE_ERROR_EOF;