OSDN Git Service

avcodec/alac: warn if not all channels where decoded
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 03:44:42 +0000 (04:44 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 03:44:42 +0000 (04:44 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/alac.c

index 1929839..1e28efd 100644 (file)
@@ -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;
 }