diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-09-14 19:17:21 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-09-14 19:17:21 +0000 |
| commit | e98ee2d696a90042756b98aa2585e33e5e536725 (patch) | |
| tree | 82d6794037b629dda0a007c3b32c5fdec735ce82 /apps/codecs/libfaad | |
| parent | b543a2a5d229308c5e7feb2891eb5eac1b0446f8 (diff) | |
| download | rockbox-e98ee2d696a90042756b98aa2585e33e5e536725.zip rockbox-e98ee2d696a90042756b98aa2585e33e5e536725.tar.gz rockbox-e98ee2d696a90042756b98aa2585e33e5e536725.tar.bz2 rockbox-e98ee2d696a90042756b98aa2585e33e5e536725.tar.xz | |
Correct comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad')
| -rw-r--r-- | apps/codecs/libfaad/sbr_hfgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/sbr_hfgen.c b/apps/codecs/libfaad/sbr_hfgen.c index cf70cc3..5c346f1 100644 --- a/apps/codecs/libfaad/sbr_hfgen.c +++ b/apps/codecs/libfaad/sbr_hfgen.c @@ -206,7 +206,7 @@ static void auto_correlation(sbr_info *sbr, acorr_coef *ac, /* A pre-shift of >>2 is needed to avoid overflow when multiply-adding * the FRACT-variables buffer -- FRACT part is 31 bits. After the * calculation has been finished the result 'ac.det' needs to be - * post-shifted by <<(2*exp). */ + * post-shifted by <<(4*exp). */ for (j = offset; j < len + offset; j++) { @@ -269,7 +269,7 @@ static void auto_correlation(sbr_info *sbr, acorr_coef *ac, qmf_t buffer[MAX_NTS /* A pre-shift of >>2 is needed to avoid overflow when multiply-adding * the FRACT-variables buffer -- FRACT part is 31 bits. After the * calculation has been finished the result 'ac.det' needs to be - * post-shifted by <<(2*exp). */ + * post-shifted by <<(4*exp). */ temp2_r = (QMF_RE(buffer[offset-2][bd])) >> exp; temp2_i = (QMF_IM(buffer[offset-2][bd])) >> exp; |