[SCM] libav/experimental: 10l: wrong operation in stereo rematrixing
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:52:15 UTC 2013
The following commit has been merged in the experimental branch:
commit 3fdccca0912fe35104ac60954aff82a9c38cd2b2
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date: Wed Sep 30 21:51:02 2009 +0000
10l: wrong operation in stereo rematrixing
Originally committed as revision 20106 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 91b82cf..650468b 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];
}
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list