diff options
author | Måns Rullgård <mans@mansr.com> | 2006-12-06 23:46:11 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-12-06 23:46:11 +0000 |
commit | 8da9266ceaeb233a757d5ad8772bdf93601eec33 (patch) | |
tree | a549b588fbd30273b27aa1f7a4857f010f36a323 /libavcodec/mpegaudiodec.c | |
parent | cd107896911a1a2359b29f8041458a192631292f (diff) | |
download | ffmpeg-8da9266ceaeb233a757d5ad8772bdf93601eec33.tar.gz |
use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 54bcee3b08..a0627e5a43 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -327,7 +327,7 @@ static int decode_init(AVCodecContext * avctx) for(i=0;i<15;i++) { int n, norm; n = i + 2; - norm = ((int64_t_C(1) << n) * FRAC_ONE) / ((1 << n) - 1); + norm = ((INT64_C(1) << n) * FRAC_ONE) / ((1 << n) - 1); scale_factor_mult[i][0] = MULL(FIXR(1.0 * 2.0), norm); scale_factor_mult[i][1] = MULL(FIXR(0.7937005259 * 2.0), norm); scale_factor_mult[i][2] = MULL(FIXR(0.6299605249 * 2.0), norm); |