OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295ab2a
)
cosmetics: fix comment after change in clipping range
author
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 22 Dec 2010 12:28:02 +0000
(12:28 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 22 Dec 2010 12:28:02 +0000
(12:28 +0000)
Originally committed as revision 26072 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3enc.c
b/libavcodec/ac3enc.c
index
200fff4
..
836b97c
100644
(file)
--- 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)