* snd_mpg123.c: Print a message if mpg123_init() fails.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@420 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2011-02-17 07:02:47 +00:00
parent 3e3a563c36
commit 2130f17bc9

View file

@ -65,10 +65,13 @@ static off_t mp3_seek (void *f, off_t offset, int whence)
static qboolean S_MP3_CodecInitialize (void)
{
if (! mp3_codec.initialized)
if (!mp3_codec.initialized)
{
if (mpg123_init() != MPG123_OK)
{
Con_Printf ("Could not initialize mpg123\n");
return false;
}
mp3_codec.initialized = true;
return true;
}