chromium/chromium-24.0.1312.70-arm-gcc-4.5.3.patch

12 lines
617 B
Diff
Raw Permalink Normal View History

--- chromium-24.0.1312.70/media/filters/decrypting_audio_decoder.cc.orig 2013-02-18 17:15:21.657687025 +0100
+++ chromium-24.0.1312.70/media/filters/decrypting_audio_decoder.cc 2013-02-18 17:17:18.375879916 +0100
@@ -30,7 +30,7 @@
// Out of sync of 100ms would be pretty noticeable and we should keep any
// drift below that.
const int64 kOutOfSyncThresholdInMicroseconds = 100000;
- return std::abs(timestamp_1.InMicroseconds() - timestamp_2.InMicroseconds()) >
+ return std::abs((long int)(timestamp_1.InMicroseconds() - timestamp_2.InMicroseconds())) >
kOutOfSyncThresholdInMicroseconds;
}