diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-23 03:30:08 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-23 03:30:08 +0000 |
commit | 63d72fb1679e61e6665c1cbd7cfff5ecf03a063a (patch) | |
tree | f924d06f6e60261fb4f5b44f493a398def1f9cfb | |
parent | 602031305c4eba88710ddac15be5399de17e4bcf (diff) | |
download | ffmpeg-63d72fb1679e61e6665c1cbd7cfff5ecf03a063a.tar.gz |
fix decoding of coupling leak info for normal AC-3
Originally committed as revision 14913 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index bca4009cfa..508d698c67 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -837,7 +837,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) s->channel_in_cpl[ch] = 0; s->first_cpl_coords[ch] = 1; } - s->first_cpl_leak = 1; + s->first_cpl_leak = s->eac3; s->phase_flags_in_use = 0; } } else if (!s->eac3) { |