mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
* 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:
parent
3e3a563c36
commit
2130f17bc9
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