aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Voroshilov <voroshil@gmail.com>2008-08-26 16:41:23 +0000
committerVladimir Voroshilov <voroshil@gmail.com>2008-08-26 16:41:23 +0000
commit1b8a36d728ccc35a7a17699d6cd46ac4a2796203 (patch)
tree107fe7087883e34950f142cc4355ba9f204b9653
parentbb68b69dfbe2ccfbc4ae6e607c0632f509ef5762 (diff)
downloadffmpeg-1b8a36d728ccc35a7a17699d6cd46ac4a2796203.tar.gz
(cosmetics) Remove wrong comments.
Originally committed as revision 14977 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/acelp_filters.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/acelp_filters.c b/libavcodec/acelp_filters.c
index 581da306f3..83db0efc8a 100644
--- a/libavcodec/acelp_filters.c
+++ b/libavcodec/acelp_filters.c
@@ -152,11 +152,11 @@ void ff_acelp_high_pass_filter(
for(i=0; i<length; i++)
{
- tmp = (hpf_f[0]* 15836LL)>>13; /* (14.13) = (13.13) * (1.13) */
- tmp += (hpf_f[1]* -7667LL)>>13; /* (13.13) = (13.13) * (0.13) */
- tmp += 7699 * (in[i] - 2*in[i-1] + in[i-2]); /* (14.13) = (0.13) * (14.0) */
+ tmp = (hpf_f[0]* 15836LL)>>13;
+ tmp += (hpf_f[1]* -7667LL)>>13;
+ tmp += 7699 * (in[i] - 2*in[i-1] + in[i-2]);
- out[i] = av_clip_int16((tmp + 0x800) >> 12); /* (15.0) = 2 * (13.13) = (14.13) */
+ out[i] = av_clip_int16((tmp + 0x800) >> 12);
hpf_f[1] = hpf_f[0];
hpf_f[0] = tmp;