diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-01-13 10:43:29 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-01-13 10:43:29 +0000 |
commit | c0fa58a965c2bd7d3623c32681decc5a98bf9bf5 (patch) | |
tree | d41cc85d950938757a85fb86c9eca68524c0c1bb /www/chromium/files | |
parent | 386fcbc3747824b8243c23219a8abb8765c7b6b0 (diff) |
Fix build with clang 3.1
Submitted by: cy@
Notes
Notes:
svn path=/head/; revision=310313
Diffstat (limited to 'www/chromium/files')
-rw-r--r-- | www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc b/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc new file mode 100644 index 000000000000..12807f0c538d --- /dev/null +++ b/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc @@ -0,0 +1,10 @@ +--- media/filters/decrypting_audio_decoder.cc.orig 2013-01-07 18:40:10.000000000 -0800 ++++ media/filters/decrypting_audio_decoder.cc 2013-01-12 09:05:12.737640582 -0800 +@@ -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::labs(timestamp_1.InMicroseconds() - timestamp_2.InMicroseconds()) > + kOutOfSyncThresholdInMicroseconds; + } |