You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
aacenc: fix the side calculation in search_for_ms
This commit is contained in:
committed by
Alex Converse
parent
66f608a6aa
commit
92efa2bdd9
@@ -1057,7 +1057,7 @@ static void search_for_ms(AACEncContext *s, ChannelElement *cpe,
|
|||||||
for (i = 0; i < sce0->ics.swb_sizes[g]; i++) {
|
for (i = 0; i < sce0->ics.swb_sizes[g]; i++) {
|
||||||
M[i] = (sce0->coeffs[start+w2*128+i]
|
M[i] = (sce0->coeffs[start+w2*128+i]
|
||||||
+ sce1->coeffs[start+w2*128+i]) * 0.5;
|
+ 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];
|
- sce1->coeffs[start+w2*128+i];
|
||||||
}
|
}
|
||||||
abs_pow34_v(L34, sce0->coeffs+start+w2*128, sce0->ics.swb_sizes[g]);
|
abs_pow34_v(L34, sce0->coeffs+start+w2*128, sce0->ics.swb_sizes[g]);
|
||||||
|
Reference in New Issue
Block a user