[quake3-commits] r1977 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu May 12 08:25:36 EDT 2011


Author: thilo
Date: 2011-05-12 08:25:36 -0400 (Thu, 12 May 2011)
New Revision: 1977

Modified:
   trunk/code/client/snd_codec.c
   trunk/code/client/snd_codec_ogg.c
   trunk/code/client/snd_codec_wav.c
Log:
More codec loader troubles with extensions


Modified: trunk/code/client/snd_codec.c
===================================================================
--- trunk/code/client/snd_codec.c	2011-05-12 10:53:36 UTC (rev 1976)
+++ trunk/code/client/snd_codec.c	2011-05-12 12:25:36 UTC (rev 1977)
@@ -90,7 +90,7 @@
 		if( codec == orgCodec )
 			continue;
 
-		Com_sprintf( altName, sizeof (altName), "%s%s", localName, codec->ext );
+		Com_sprintf( altName, sizeof (altName), "%s.%s", localName, codec->ext );
 
 		// Load
 		if( info )

Modified: trunk/code/client/snd_codec_ogg.c
===================================================================
--- trunk/code/client/snd_codec_ogg.c	2011-05-12 10:53:36 UTC (rev 1976)
+++ trunk/code/client/snd_codec_ogg.c	2011-05-12 12:25:36 UTC (rev 1977)
@@ -41,7 +41,7 @@
 // Q3 OGG codec
 snd_codec_t ogg_codec =
 {
-	".ogg",
+	"ogg",
 	S_OGG_CodecLoad,
 	S_OGG_CodecOpenStream,
 	S_OGG_CodecReadStream,

Modified: trunk/code/client/snd_codec_wav.c
===================================================================
--- trunk/code/client/snd_codec_wav.c	2011-05-12 10:53:36 UTC (rev 1976)
+++ trunk/code/client/snd_codec_wav.c	2011-05-12 12:25:36 UTC (rev 1977)
@@ -183,7 +183,7 @@
 // WAV codec
 snd_codec_t wav_codec =
 {
-	".wav",
+	"wav",
 	S_WAV_CodecLoad,
 	S_WAV_CodecOpenStream,
 	S_WAV_CodecReadStream,



More information about the quake3-commits mailing list