summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacpsy.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-04 10:17:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-04 10:17:52 +0200
commit0104570fb65bef9986a630e0188b3756295693a9 (patch)
treed0612ebe9b9cdf7fcf7da0c6ced55c0609887e05 /libavcodec/aacpsy.c
parent711c8ee71d719d6d89a523618f078bb17dbe1abf (diff)
parenta5f8873620ce502d37d0cc3ef93ada2ea8fb8de7 (diff)
downloadffmpeg-streaming-0104570fb65bef9986a630e0188b3756295693a9.zip
ffmpeg-streaming-0104570fb65bef9986a630e0188b3756295693a9.tar.gz
Merge commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7'
* commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7': silly typo fixes Conflicts: doc/protocols.texi libavcodec/aacpsy.c libavformat/utils.c tools/patcheck Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacpsy.c')
-rw-r--r--libavcodec/aacpsy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c
index b3513c7..4d4fb54 100644
--- a/libavcodec/aacpsy.c
+++ b/libavcodec/aacpsy.c
@@ -603,7 +603,8 @@ static void psy_hp_filter(const float *firbuf, float *hpfsmpl, const float *psy_
sum1 += psy_fir_coeffs[j] * (firbuf[i + j] + firbuf[i + PSY_LAME_FIR_LEN - j]);
sum2 += psy_fir_coeffs[j + 1] * (firbuf[i + j + 1] + firbuf[i + PSY_LAME_FIR_LEN - j - 1]);
}
- /* NOTE: The LAME psymodel expects it's input in the range -32768 to 32768. Tuning this for normalized floats would be difficult. */
+ /* NOTE: The LAME psymodel expects it's input in the range -32768 to 32768.
+ * Tuning this for normalized floats would be difficult. */
hpfsmpl[i] = (sum1 + sum2) * 32768.0f;
}
}
OpenPOWER on IntegriCloud