Commit 7af26d14 authored by Justin Ruggles's avatar Justin Ruggles

return error on frame sync error

Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 31bc6b45
......@@ -1158,7 +1158,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
switch(err) {
case AC3_PARSE_ERROR_SYNC:
av_log(avctx, AV_LOG_ERROR, "frame sync error\n");
break;
return -1;
case AC3_PARSE_ERROR_BSID:
av_log(avctx, AV_LOG_ERROR, "invalid bitstream id\n");
break;
......
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