Commit bc758a89 authored by jbr's avatar jbr

return error on frame sync error

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13654 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dec15335
......@@ -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