aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-22 12:28:02 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-22 12:28:02 +0000
commit1ce9d6b85fea7c4d209d9e54009177ccf4b91222 (patch)
treecece26866f1a7b9244fd1dacc8619cff9d6b3bae
parent295ab2af6ef556c37633fc2004ec6b434dcc0113 (diff)
downloadffmpeg-1ce9d6b85fea7c4d209d9e54009177ccf4b91222.tar.gz
cosmetics: fix comment after change in clipping range
Originally committed as revision 26072 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 200fff4878..836b97c88a 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -43,7 +43,7 @@
/** Scale a float value by 2^bits and convert to an integer. */
#define SCALE_FLOAT(a, bits) lrintf((a) * (float)(1 << (bits)))
-/** Scale a float value by 2^15, convert to an integer, and clip to int16_t range. */
+/** Scale a float value by 2^15, convert to an integer, and clip to range -32767..32767. */
#define FIX15(a) av_clip(SCALE_FLOAT(a, 15), -32767, 32767)