changeset 13307:b94f228dfed6

output faad error message in case of a decoder error
author reimar
date Sat, 11 Sep 2004 09:07:07 +0000
parents 405b0afcc651
children 8ff17d153414
files libmpcodecs/ad_faad.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_faad.c	Fri Sep 10 22:22:02 2004 +0000
+++ b/libmpcodecs/ad_faad.c	Sat Sep 11 09:07:07 2004 +0000
@@ -193,7 +193,8 @@
     }
 
     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;