cosmetics: fix comment after change in clipping range

Originally committed as revision 26072 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Justin Ruggles 14 years ago
parent 295ab2af6e
commit 1ce9d6b85f
  1. 2
      libavcodec/ac3enc.c

@ -43,7 +43,7 @@
/** Scale a float value by 2^bits and convert to an integer. */ /** Scale a float value by 2^bits and convert to an integer. */
#define SCALE_FLOAT(a, bits) lrintf((a) * (float)(1 << (bits))) #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) #define FIX15(a) av_clip(SCALE_FLOAT(a, 15), -32767, 32767)

Loading…
Cancel
Save