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

Unified Diff: chromecast/media/cma/decoder/cast_audio_decoder_linux.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: chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
diff --git a/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc b/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
index b7b2896b1e14e38dd373f9574a1a46449059476b..4138e4af43c31c5a65c4b19c93c1b6a61b30cacc 100644
--- a/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
+++ b/chromecast/media/cma/decoder/cast_audio_decoder_linux.cc
@@ -137,7 +137,7 @@ class CastAudioDecoderImpl : public CastAudioDecoder {
// FFmpegAudioDecoder requires a timestamp to be set.
base::TimeDelta timestamp =
base::TimeDelta::FromMicroseconds(data->timestamp());
- if (timestamp == ::media::kNoTimestamp())
+ if (timestamp == ::media::kNoTimestamp)
data->set_timestamp(base::TimeDelta());
decode_pending_ = true;

Powered by Google App Engine
This is Rietveld 408576698