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