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
This commit is contained in:
reimar 2004-09-11 09:07:07 +00:00
parent d73d711330
commit 9135ad6154
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
} }
if(faac_finfo.error > 0) { 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++; j++;
} else } else
break; break;