[FFmpeg-cvslog] r26072 - trunk/libavcodec/ac3enc.c
jbr
subversion
Wed Dec 22 13:28:02 CET 2010
Author: jbr
Date: Wed Dec 22 13:28:02 2010
New Revision: 26072
Log:
cosmetics: fix comment after change in clipping range
Modified:
trunk/libavcodec/ac3enc.c
Modified: trunk/libavcodec/ac3enc.c
==============================================================================
--- trunk/libavcodec/ac3enc.c Tue Dec 21 22:18:58 2010 (r26071)
+++ trunk/libavcodec/ac3enc.c Wed Dec 22 13:28:02 2010 (r26072)
@@ -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)
More information about the ffmpeg-cvslog
mailing list