mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 562508 - Submitted comparison between signed and unsigned integer expressions in nsOggPlayStateMachine::Run(). r=doublec
This commit is contained in:
parent
9fc9a4a7c0
commit
90cf26650b
@ -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…
Reference in New Issue
Block a user