diff options
Diffstat (limited to 'chromium/third_party/ffmpeg/libavcodec/aacdec.c')
-rw-r--r-- | chromium/third_party/ffmpeg/libavcodec/aacdec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chromium/third_party/ffmpeg/libavcodec/aacdec.c b/chromium/third_party/ffmpeg/libavcodec/aacdec.c index d394700cdc8..c606ad40a9a 100644 --- a/chromium/third_party/ffmpeg/libavcodec/aacdec.c +++ b/chromium/third_party/ffmpeg/libavcodec/aacdec.c @@ -247,14 +247,12 @@ static void apply_independent_coupling(AACContext *ac, SingleChannelElement *target, ChannelElement *cce, int index) { - int i; const float gain = cce->coup.gain[index][0]; const float *src = cce->ch[0].ret; float *dest = target->ret; const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); - for (i = 0; i < len; i++) - dest[i] += gain * src[i]; + ac->fdsp->vector_fmac_scalar(dest, src, gain, len); } #include "aacdec_template.c" |