diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2009-09-30 21:51:02 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2009-09-30 21:51:02 +0000 |
commit | 3fdccca0912fe35104ac60954aff82a9c38cd2b2 (patch) | |
tree | 7126d2e02a3baac8d53783bbe1c053a59f48239a | |
parent | 49214f61a5071a3e5f12c3d13f13a3d8cfdbb5bb (diff) | |
download | ffmpeg-3fdccca0912fe35104ac60954aff82a9c38cd2b2.tar.gz |
10l: wrong operation in stereo rematrixing
Originally committed as revision 20106 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 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(; i<bndend; i++) { int tmp0 = s->fixed_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]; } } |