Commit 3fdccca0 authored by Justin Ruggles's avatar Justin Ruggles

10l: wrong operation in stereo rematrixing

Originally committed as revision 20106 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 49214f61
......@@ -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];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment