gecko-dev/dom/media/fmp4
JW Wang f2ea37e57b Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku
1. using media::TimeUnit to save some typing.
2. replace TimeUnit() with TimeUnit::Zero().
3. replace TimeUnit::FromXXX(0) with TimeUnit::Zero().
4. replace TimeUnit::FromMicroseconds(std::numeric_limits<int64_t>::max()) with TimeUnit::FromInfinity().
5. replace some uses of int64_t with TimeUnit.
6. replace t > TimeUnit() with t.IsPositive().

MozReview-Commit-ID: 6hC94PXx86i

--HG--
extra : rebase_source : 1ea3b409e6ec12915f3e1a00359d6ff4152c8917
extra : intermediate-source : e31a12ad0e7a4840119036f261ed17eaaff85734
extra : source : ae07ee48000c4a52da0e4fd502b4d690ec51ce1f
2017-04-17 16:35:04 +08:00
..
MP4Decoder.cpp Bug 1355745 - Change the type of TrackInfo::mMediaTime to TimeUnit. r=jya 2017-04-12 16:53:09 +08:00
MP4Decoder.h Bug 1332160 - use nsCString internally whenever possible. r=gerald 2017-01-18 16:51:31 +08:00
MP4Demuxer.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
MP4Demuxer.h Bug 1341454 - MP4Demuxer::Init() pre-caches everything from MP4Metadata - r=jya 2017-02-23 14:56:51 +11:00
MP4Stream.cpp Bug 1229963 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/media/; r=cpearce 2015-12-02 18:07:59 -05:00
MP4Stream.h Bug 1240411: P4. Clean up readers headers. r=cpearce 2016-01-19 19:47:31 +11:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00