summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 02:05:39 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 02:05:39 +0000
commitb3b012d8d9e4e385a3a3446e8f9a7452426b073c (patch)
treea7c0a1f5caeed8e27158a4c87a9d4282d9517588 /media
parent81fb2509ea1038d04a373a1045c7658927ad85b5 (diff)
downloadchromium_src-b3b012d8d9e4e385a3a3446e8f9a7452426b073c.zip
chromium_src-b3b012d8d9e4e385a3a3446e8f9a7452426b073c.tar.gz
chromium_src-b3b012d8d9e4e385a3a3446e8f9a7452426b073c.tar.bz2
Fix build bustage
Fix build bustage because of signed / unsigned mismatch. TBR=scherkus Review URL: http://codereview.chromium.org/174211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/filters/ffmpeg_demuxer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
index 74c7bad..d106a51 100644
--- a/media/filters/ffmpeg_demuxer.cc
+++ b/media/filters/ffmpeg_demuxer.cc
@@ -207,7 +207,7 @@ void FFmpegDemuxerStream::FulfillPendingRead() {
}
base::TimeDelta FFmpegDemuxerStream::ConvertTimestamp(int64 timestamp) {
- if (timestamp == AV_NOPTS_VALUE)
+ if (timestamp == static_cast<int64>(AV_NOPTS_VALUE))
return StreamSample::kInvalidTimestamp;
AVRational time_base = { 1, base::Time::kMicrosecondsPerSecond };
int64 microseconds = av_rescale_q(timestamp, stream_->time_base, time_base);