]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video_jamdecode.c
eliminated S_LockSfx and S_UnlockSfx which were not thread-safe and
[xonotic/darkplaces.git] / cl_video_jamdecode.c
index 55a4983708aa7f5740433bacb1dd268ce23efc20..05650016f9c523fd4d0449993bab8bc7bcca75a4 100644 (file)
@@ -143,7 +143,7 @@ void jam_close(void *stream)
        Z_Free(s->prevframedata);
        Z_Free(s->videopixels);
        if (s->sndchan != -1)
-               S_StopChannel(s->sndchan, true);
+               S_StopChannel(s->sndchan, true, true);
        if (s->file)
                FS_Close(s->file);
        Z_Free(s);