blob: 8db3560b49e8c4ce4204b207ce1faea090381f31 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- media/filters/decrypting_audio_decoder.cc.orig 2016-05-11 19:02:24 UTC
+++ media/filters/decrypting_audio_decoder.cc
@@ -29,7 +29,7 @@ static inline bool IsOutOfSync(const bas
// Out of sync of 100ms would be pretty noticeable and we should keep any
// drift below that.
const int64_t kOutOfSyncThresholdInMilliseconds = 100;
- return std::abs(timestamp_1.InMilliseconds() - timestamp_2.InMilliseconds()) >
+ return std::labs(timestamp_1.InMilliseconds() - timestamp_2.InMilliseconds()) >
kOutOfSyncThresholdInMilliseconds;
}
|