Commit d5af4007 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/alac: warn if not all channels where decoded

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e11983bd
...@@ -492,6 +492,8 @@ static int alac_decode_frame(AVCodecContext *avctx, void *data, ...@@ -492,6 +492,8 @@ static int alac_decode_frame(AVCodecContext *avctx, void *data,
if (alac->channels == ch) if (alac->channels == ch)
*got_frame_ptr = 1; *got_frame_ptr = 1;
else
av_log(avctx, AV_LOG_WARNING, "Failed to decode all channels\n");
return avpkt->size; return avpkt->size;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment