OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bc6b4
)
return error on frame sync error
author
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 4 Jun 2008 00:31:20 +0000
(
00:31
+0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 4 Jun 2008 00:31:20 +0000
(
00:31
+0000)
Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
d3e1bc1
..
29955cc
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-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;