# HG changeset patch # User jbr # Date 1254347462 0 # Node ID b5b58febcf687afa023878a96e92ce75c49fd482 # Parent ac0b95400577abf741d4084882e96fbf3aa0acac 10l: wrong operation in stereo rematrixing diff -r ac0b95400577 -r b5b58febcf68 ac3dec.c --- a/ac3dec.c Wed Sep 30 21:23:47 2009 +0000 +++ b/ac3dec.c Wed Sep 30 21:51:02 2009 +0000 @@ -613,7 +613,7 @@ 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]; } }