summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-11 04:44:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-11 04:44:42 +0100
commitd5af400713951b322e9deb1bb99b681416a08522 (patch)
tree80103dd2597c34cc480568b414875d546c15cd25 /libavcodec/alac.c
parente11983bda073f8c63f60509ee753da9fba20ed10 (diff)
avcodec/alac: warn if not all channels where decoded
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 1929839e70..1e28efd715 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -492,6 +492,8 @@ static int alac_decode_frame(AVCodecContext *avctx, void *data,
if (alac->channels == ch)
*got_frame_ptr = 1;
+ else
+ av_log(avctx, AV_LOG_WARNING, "Failed to decode all channels\n");
return avpkt->size;
}