aboutsummaryrefslogtreecommitdiffstats
path: root/src/aac_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aac_decode.c')
-rw-r--r--src/aac_decode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aac_decode.c b/src/aac_decode.c
index f049d0771..d52aebd49 100644
--- a/src/aac_decode.c
+++ b/src/aac_decode.c
@@ -325,6 +325,9 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
advanceAacBuffer(&b,frameInfo.bytesconsumed);
if(frameInfo.error > 0) {
+ ERROR("error decoding AAC file: %s\n",dc->file);
+ ERROR("faad2 error: %s\n",
+ faacDecGetErrorMessage(frameInfo.error));
eof = 1;
break;
}