Fix for clang build break.

Change-Id: I32b59d96ae2465fe60db9646a4c336695e3190a0
This commit is contained in:
Thomas Inskip 2015-05-26 13:51:40 -07:00
parent a0dc98c13e
commit b56f5a0edf
1 changed files with 1 additions and 1 deletions

View File

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