Commit d0f4e4fb authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

print error when decoding fails

Originally committed as revision 7436 to svn://
parent a9621908
......@@ -217,6 +217,7 @@ static int a52_decode_frame(AVCodecContext *avctx,
level = 1;
if (s->a52_frame(s->state, s->inbuf, &flags, &level, 384)) {
av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n");
s->inbuf_ptr = s->inbuf;
s->frame_size = 0;
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