From b56f5a0edf85f6cc40b26d599b1235e14a32d727 Mon Sep 17 00:00:00 2001 From: Thomas Inskip Date: Tue, 26 May 2015 13:51:40 -0700 Subject: [PATCH] Fix for clang build break. Change-Id: I32b59d96ae2465fe60db9646a4c336695e3190a0 --- packager/media/formats/mp4/mp4_media_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/media/formats/mp4/mp4_media_parser.cc b/packager/media/formats/mp4/mp4_media_parser.cc index dd41e5f362..04800b8357 100644 --- a/packager/media/formats/mp4/mp4_media_parser.cc +++ b/packager/media/formats/mp4/mp4_media_parser.cc @@ -118,7 +118,7 @@ bool MP4MediaParser::LoadMoov(const std::string& file_path) { LOG(ERROR) << "Unable to open media file '" << file_path << "'"; return false; } - if (file->Seek(0) < 0) { + if (!file->Seek(0)) { LOG(WARNING) << "Filesystem does not support seeking on file '" << file_path << "'"; return false;