gecko-dev/dom/media/ogg
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
..
OggCodecState.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
OggCodecState.h Bug 1338023. Part 5 - let OggCodecState::DecodeHeader() take a OggPacketPtr instead of a raw pointer to clarify memory ownership. r=gerald 2017-02-09 13:52:41 +08:00
OggCodecStore.cpp Bug 1168674: [ogg] P1. Add OggDemuxer object. r=me 2016-07-21 11:28:47 +10:00
OggCodecStore.h Bug 1168674: [ogg] P1. Add OggDemuxer object. r=me 2016-07-21 11:28:47 +10:00
OggDecoder.cpp Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya 2017-01-18 11:59:03 +11:00
OggDecoder.h Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya 2017-01-18 11:59:03 +11:00
OggDemuxer.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
OggDemuxer.h Bug 1336431: P4. Rename SharedTrackInfo. r=gerald 2017-02-13 19:18:05 +01:00
OggWriter.cpp Bug 1294753: encode all available audio on each cycle instead of one 'packet' r=rillian 2016-08-18 00:31:11 -04:00
OggWriter.h
OpusParser.cpp Bug 1313632: P2. Cleaner Ogg related headers. r=kaku 2016-11-09 12:19:06 +11:00
OpusParser.h Bug 1313632: P2. Cleaner Ogg related headers. r=kaku 2016-11-09 12:19:06 +11:00
moz.build Bug 1313632: P1. Remove unused OggReader. r=kaku 2016-11-09 11:54:41 +11:00