Skip to content
Snippets Groups Projects
Commit 7af26d14 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

return error on frame sync error

Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 31bc6b45
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment