diff --git a/media/libstagefright/binding/mp4_demuxer.cpp b/media/libstagefright/binding/mp4_demuxer.cpp index 64982b59d00b..2059cee79e08 100644 --- a/media/libstagefright/binding/mp4_demuxer.cpp +++ b/media/libstagefright/binding/mp4_demuxer.cpp @@ -331,7 +331,7 @@ MP4Demuxer::GetEvictionOffset(Microseconds aTime) for (int i = 0; i < mPrivate->mIndexes.Length(); i++) { offset = std::min(offset, mPrivate->mIndexes[i]->GetEvictionOffset(aTime)); } - return offset == std::numeric_limits::max() ? -1 : offset; + return offset == std::numeric_limits::max() ? 0 : offset; } Microseconds