You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
print error when decoding fails
Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user