diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-01-10 14:23:28 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-01-10 14:23:28 +0000 |
commit | d0f4e4fb17394080b64ea15324733ea0b3d126ca (patch) | |
tree | 62665c668701a53bec794b799209b65b831e6a5a /libavcodec | |
parent | a9621908dce261eb91e1355e7d4bee97e9b65256 (diff) | |
download | ffmpeg-d0f4e4fb17394080b64ea15324733ea0b3d126ca.tar.gz |
print error when decoding fails
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/a52dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/a52dec.c b/libavcodec/a52dec.c index e810bc7d77..0a7c0c552f 100644 --- a/libavcodec/a52dec.c +++ b/libavcodec/a52dec.c @@ -217,6 +217,7 @@ static int a52_decode_frame(AVCodecContext *avctx, level = 1; if (s->a52_frame(s->state, s->inbuf, &flags, &level, 384)) { fail: + av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n"); s->inbuf_ptr = s->inbuf; s->frame_size = 0; continue; |