mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 732875 - use stdint.h types instead of PRtypes, fixes build on OpenBSD - r=Ms2ger
This commit is contained in:
parent
5bd712711d
commit
781da02081
@ -1126,8 +1126,7 @@ void nsBuiltinDecoderStateMachine::AudioLoop()
|
||||
// we pushed to the audio hardware. We must push silence into the audio
|
||||
// hardware so that the next audio chunk begins playback at the correct
|
||||
// time.
|
||||
missingFrames = NS_MIN(static_cast<PRInt64>(PR_UINT32_MAX),
|
||||
missingFrames.value());
|
||||
missingFrames = NS_MIN<int64_t>(UINT32_MAX, missingFrames.value());
|
||||
LOG(PR_LOG_DEBUG, ("%p Decoder playing %d frames of silence",
|
||||
mDecoder.get(), PRInt32(missingFrames.value())));
|
||||
framesWritten = PlaySilence(static_cast<PRUint32>(missingFrames.value()),
|
||||
|
Loading…
Reference in New Issue
Block a user