Browse Source

print error when decoding fails

Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 19 years ago
parent
commit
d0f4e4fb17
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/a52dec.c

+ 1
- 0
libavcodec/a52dec.c View File

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


Loading…
Cancel
Save