Commit cd52ea81 authored by bcoudurier's avatar bcoudurier

print error when decoding fails

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7436 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9568e830
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment