aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/dec_audio.c
diff options
context:
space:
mode:
authorGravatar albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-02 10:40:35 +0000
committerGravatar albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-02 10:40:35 +0000
commit4189e063963a7fa868635cff9ff5250190b043d2 (patch)
tree4683456981781b515082fe2b4abbc210ba057099 /libmpcodecs/dec_audio.c
parentae15bf12fdb68934a4ef471e6fc7fd7da35545f9 (diff)
printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5934 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/dec_audio.c')
-rw-r--r--libmpcodecs/dec_audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c
index 352ee4f89a..459a5b8c60 100644
--- a/libmpcodecs/dec_audio.c
+++ b/libmpcodecs/dec_audio.c
@@ -39,7 +39,7 @@ int init_audio(sh_audio_t *sh_audio)
return 0; // no such driver
}
- printf("Selecting Audio Decoder: [%s] %s\n",mpadec->info->short_name,mpadec->info->name);
+ mp_msg(MSGT_DECAUDIO,MSGL_INFO,"Selecting Audio Decoder: [%s] %s\n",mpadec->info->short_name,mpadec->info->name);
// reset in/out buffer size/pointer:
sh_audio->a_buffer_size=0;
@@ -64,7 +64,7 @@ int init_audio(sh_audio_t *sh_audio)
if(!mpadec->preinit(sh_audio))
{
- printf("ADecoder preinit failed :(\n");
+ mp_msg(MSGT_DECAUDIO,MSGL_ERR,"ADecoder preinit failed :(\n");
return 0;
}