diff options
Diffstat (limited to 'src/client/snd_codec_wav.c')
-rw-r--r-- | src/client/snd_codec_wav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/snd_codec_wav.c b/src/client/snd_codec_wav.c index e38b360e..9c6598f6 100644 --- a/src/client/snd_codec_wav.c +++ b/src/client/snd_codec_wav.c @@ -256,7 +256,7 @@ snd_stream_t *S_WAV_CodecOpenStream(const char *filename) // Read the RIFF header if(!S_ReadRIFFHeader(rv->file, &rv->info)) { - S_CodecUtilClose(rv); + S_CodecUtilClose(&rv); return NULL; } @@ -270,7 +270,7 @@ S_WAV_CodecCloseStream */ void S_WAV_CodecCloseStream(snd_stream_t *stream) { - S_CodecUtilClose(stream); + S_CodecUtilClose(&stream); } /* |