mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-18 00:42:25 +00:00
* snd_mpg123.c: Print a message if mpg123_init() fails.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@420 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
c6272f8ac7
commit
9829e47937
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue