diff --git a/code/nel/src/sound/stream_file_source.cpp b/code/nel/src/sound/stream_file_source.cpp index 9a03ba2d8..4d490cfac 100644 --- a/code/nel/src/sound/stream_file_source.cpp +++ b/code/nel/src/sound/stream_file_source.cpp @@ -372,7 +372,7 @@ void CStreamFileSource::run() m_AudioDecoder = NULL; // _Playing cannot be used to detect play state because its required in cleanup // Using m_AudioDecoder in isEnded() may result race condition (decoder is only created after thread is started) - m_DecodingEnded = true; + m_DecodingEnded = !m_WaitingForPlay; } // drop buffers m_FreeBuffers = 3;