From 63d72fb1679e61e6665c1cbd7cfff5ecf03a063a Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sat, 23 Aug 2008 03:30:08 +0000 Subject: [PATCH] fix decoding of coupling leak info for normal AC-3 Originally committed as revision 14913 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {