[FFmpeg-cvslog] r13654 - trunk/libavcodec/ac3dec.c
jbr
subversion
Wed Jun 4 02:31:21 CEST 2008
Author: jbr
Date: Wed Jun 4 02:31:20 2008
New Revision: 13654
Log:
return error on frame sync error
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Wed Jun 4 02:31:20 2008
@@ -1158,7 +1158,7 @@ static int ac3_decode_frame(AVCodecConte
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;
More information about the ffmpeg-cvslog
mailing list