From 3fdccca0912fe35104ac60954aff82a9c38cd2b2 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 30 Sep 2009 21:51:02 +0000 Subject: [PATCH] 10l: wrong operation in stereo rematrixing Originally committed as revision 20106 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 91b82cfa7d..650468bfd6 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -613,7 +613,7 @@ static void do_rematrixing(AC3DecodeContext *s) bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd+1]); for(; ifixed_coeffs[1][i]; - s->fixed_coeffs[1][i] -= s->fixed_coeffs[2][i]; + s->fixed_coeffs[1][i] += s->fixed_coeffs[2][i]; s->fixed_coeffs[2][i] = tmp0 - s->fixed_coeffs[2][i]; } }