mirror of
https://gitee.com/openharmony/castengine_cast_framework
synced 2025-02-17 07:47:33 +00:00
commit
28d0ab2e67
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user