OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2efd2
)
ac3dec: skip decoding and use error concealment for remaining blocks in
author
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 3 Dec 2008 03:34:31 +0000
(
03:34
+0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 3 Dec 2008 03:34:31 +0000
(
03:34
+0000)
the frame after an error occurs.
Originally committed as revision 15987 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
3e8b0b5
..
208d87a
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-1308,6
+1308,7
@@
static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
const float *output[s->out_channels];
if (!err && decode_audio_block(s, blk)) {
av_log(avctx, AV_LOG_ERROR, "error decoding the audio block\n");
+ err = 1;
}
for (ch = 0; ch < s->out_channels; ch++)
output[ch] = s->output[ch];