Index: media/formats/mp2t/es_parser.cc |
diff --git a/media/formats/mp2t/es_parser.cc b/media/formats/mp2t/es_parser.cc |
index 7512c0b88ecf8fbcf5798e253a4fceb6ed71e888..713d50cc79b9eff4f71453dad8c05f3276af2e61 100644 |
--- a/media/formats/mp2t/es_parser.cc |
+++ b/media/formats/mp2t/es_parser.cc |
@@ -11,9 +11,7 @@ namespace media { |
namespace mp2t { |
EsParser::TimingDesc::TimingDesc() |
- : dts(kNoDecodeTimestamp()), |
- pts(kNoTimestamp()) { |
-} |
+ : dts(kNoDecodeTimestamp()), pts(kNoTimestamp) {} |
mmoroz
2016/07/19 08:50:33
Shouldn't |kNoDecodeTimestamp()| become |kNoDecode
|
EsParser::TimingDesc::TimingDesc( |
DecodeTimestamp dts_in, base::TimeDelta pts_in) |
@@ -35,7 +33,7 @@ bool EsParser::Parse(const uint8_t* buf, |
DCHECK(buf); |
DCHECK_GT(size, 0); |
- if (pts != kNoTimestamp()) { |
+ if (pts != kNoTimestamp) { |
// Link the end of the byte queue with the incoming timing descriptor. |
TimingDesc timing_desc(dts, pts); |
timing_desc_list_.push_back( |