mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-09 04:25:38 +00:00
Bug 562508 - Submitted comparison between signed and unsigned integer expressions in nsOggPlayStateMachine::Run(). r=doublec
This commit is contained in:
parent
1eca7c6303
commit
cb2f888d98
@ -767,7 +767,7 @@ nsresult nsOggPlayStateMachine::Run()
|
||||
!mDecoder->GetCurrentStream()->IsDataCachedToEndOfStream(mDecoder->mDecoderPosition) &&
|
||||
!mDecoder->GetCurrentStream()->IsSuspendedByCache() &&
|
||||
((HasAudio() && mReader->mAudioQueue.Duration() < LOW_AUDIO_MS) ||
|
||||
(HasVideo() && mReader->mVideoQueue.GetSize() < LOW_VIDEO_FRAMES)))
|
||||
(HasVideo() && (PRUint32)mReader->mVideoQueue.GetSize() < LOW_VIDEO_FRAMES)))
|
||||
{
|
||||
// There is at most one frame in the queue and there's
|
||||
// more data to load. Let's buffer to make sure we can play a
|
||||
|
Loading…
x
Reference in New Issue
Block a user