From d5af400713951b322e9deb1bb99b681416a08522 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 11 Jan 2014 04:44:42 +0100 Subject: [PATCH] avcodec/alac: warn if not all channels where decoded Signed-off-by: Michael Niedermayer --- libavcodec/alac.c | 2 ++ 1 file changed, 2 insertions(+) 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; }