mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 09:10:54 +00:00
* snd_mpg123.c: Print a message if mpg123_init() fails.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@420 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
3d93dc18fc
commit
7b341d444c
1 changed files with 4 additions and 1 deletions
|
@ -68,7 +68,10 @@ static qboolean S_MP3_CodecInitialize (void)
|
|||
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