summaryrefslogtreecommitdiff
path: root/chromium/media/base/audio_timestamp_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/base/audio_timestamp_helper.cc')
-rw-r--r--chromium/media/base/audio_timestamp_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/media/base/audio_timestamp_helper.cc b/chromium/media/base/audio_timestamp_helper.cc
index 5a65a240281..ee87ed2ab45 100644
--- a/chromium/media/base/audio_timestamp_helper.cc
+++ b/chromium/media/base/audio_timestamp_helper.cc
@@ -12,7 +12,7 @@ namespace media {
// static
base::TimeDelta AudioTimestampHelper::FramesToTime(int64_t frames,
int samples_per_second) {
- DCHECK_GE(samples_per_second, 0);
+ DCHECK_GT(samples_per_second, 0);
return base::TimeDelta::FromMicroseconds(
frames * base::Time::kMicrosecondsPerSecond / samples_per_second);
}