From 9135ad61544815b86cbb1d636d66083934343788 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 11 Sep 2004 09:07:07 +0000 Subject: [PATCH] output faad error message in case of a decoder error git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13308 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_faad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpcodecs/ad_faad.c b/libmpcodecs/ad_faad.c index c4cf1b152f..bcdd397d7d 100644 --- a/libmpcodecs/ad_faad.c +++ b/libmpcodecs/ad_faad.c @@ -193,7 +193,8 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) } if(faac_finfo.error > 0) { - mp_msg(MSGT_DECAUDIO,MSGL_WARN,"FAAD: Trying to resync!\n"); + mp_msg(MSGT_DECAUDIO,MSGL_WARN,"FAAD: error: %s, trying to resync!\n", + faacDecGetErrorMessage(faac_finfo.error)); j++; } else break;