[FFmpeg-cvslog] avcodec/alac: warn if not all channels where decoded
Michael Niedermayer
git at videolan.org
Sat Jan 11 20:38:24 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 11 04:44:42 2014 +0100| [d5af400713951b322e9deb1bb99b681416a08522] | committer: Michael Niedermayer
avcodec/alac: warn if not all channels where decoded
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5af400713951b322e9deb1bb99b681416a08522
---
libavcodec/alac.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 1929839..1e28efd 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;
}
More information about the ffmpeg-cvslog
mailing list