mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/alac: warn if not all channels where decoded
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e11983bda0
commit
d5af400713
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue