diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp index b2f5a8e77..f2c7249a7 100644 --- a/src/sound/oalsound.cpp +++ b/src/sound/oalsound.cpp @@ -1205,7 +1205,7 @@ std::pair OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, int ChannelConfig chans; SampleType type; int srate; - uint32_t loop_start = 0, loop_end = 0; + uint32_t loop_start = 0, loop_end = ~0u; bool startass = false, endass = false; if (!memcmp(sfxdata, "OggS", 4) || !memcmp(sfxdata, "FLAC", 4))