avcodec/alac: warn if not all channels where decoded

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-01-11 04:44:42 +01:00
parent e11983bda0
commit d5af400713
1 changed files with 2 additions and 0 deletions

View File

@ -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;
} }