diff options
author | Young Han Lee <cpumaker@gmail.com> | 2011-03-24 10:49:36 +0900 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-03-24 21:12:23 -0700 |
commit | 92efa2bdd9b6e36a70457240fd227beff1d0d039 (patch) | |
tree | 7d1030e0299595ff4b6c14162d0093c9c529365f | |
parent | 66f608a6aaae0145ba7fb0f06311905c59b5362a (diff) | |
download | ffmpeg-92efa2bdd9b6e36a70457240fd227beff1d0d039.tar.gz |
aacenc: fix the side calculation in search_for_ms
-rw-r--r-- | libavcodec/aaccoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index 1bb8c63e69..f3a08cf8d2 100644 --- a/libavcodec/aaccoder.c +++ b/libavcodec/aaccoder.c @@ -1057,7 +1057,7 @@ static void search_for_ms(AACEncContext *s, ChannelElement *cpe, for (i = 0; i < sce0->ics.swb_sizes[g]; i++) { M[i] = (sce0->coeffs[start+w2*128+i] + sce1->coeffs[start+w2*128+i]) * 0.5; - S[i] = sce0->coeffs[start+w2*128+i] + S[i] = M[i] - sce1->coeffs[start+w2*128+i]; } abs_pow34_v(L34, sce0->coeffs+start+w2*128, sce0->ics.swb_sizes[g]); |