Fix for clang build break.
Change-Id: I32b59d96ae2465fe60db9646a4c336695e3190a0
This commit is contained in:
parent
a0dc98c13e
commit
b56f5a0edf
|
@ -118,7 +118,7 @@ bool MP4MediaParser::LoadMoov(const std::string& file_path) {
|
||||||
LOG(ERROR) << "Unable to open media file '" << file_path << "'";
|
LOG(ERROR) << "Unable to open media file '" << file_path << "'";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (file->Seek(0) < 0) {
|
if (!file->Seek(0)) {
|
||||||
LOG(WARNING) << "Filesystem does not support seeking on file '" << file_path
|
LOG(WARNING) << "Filesystem does not support seeking on file '" << file_path
|
||||||
<< "'";
|
<< "'";
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue