Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Unified Diff: media/formats/mp2t/ts_section_pes.cc

Issue 2158923004: Convert media constants to constexpr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/formats/mp2t/ts_section_pes.cc
diff --git a/media/formats/mp2t/ts_section_pes.cc b/media/formats/mp2t/ts_section_pes.cc
index c0c9eb3dcc4ab0f91ee143c3ee603c22fc8d4756..9cd704e71a33bbf37d10dd9ec33e5f3c76b4fca6 100644
--- a/media/formats/mp2t/ts_section_pes.cc
+++ b/media/formats/mp2t/ts_section_pes.cc
@@ -222,7 +222,7 @@ bool TsSectionPes::ParseInternal(const uint8_t* raw_pes, int raw_pes_size) {
}
// Convert and unroll the timestamps.
- base::TimeDelta media_pts(kNoTimestamp());
+ base::TimeDelta media_pts(kNoTimestamp);
DecodeTimestamp media_dts(kNoDecodeTimestamp());
if (is_pts_valid) {
int64_t pts = timestamp_unroller_->GetUnrolledTimestamp(

Powered by Google App Engine
This is Rietveld 408576698