summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-01-10 14:23:28 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-01-10 14:23:28 +0000
commitd0f4e4fb17394080b64ea15324733ea0b3d126ca (patch)
tree62665c668701a53bec794b799209b65b831e6a5a
parenta9621908dce261eb91e1355e7d4bee97e9b65256 (diff)
print error when decoding fails
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/a52dec.c1
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;