diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-28 22:36:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-28 22:36:08 +0000 |
commit | 161dab177fb4b6cfef66c7538b7c0622f9287278 (patch) | |
tree | 8455716bb8d14a2569a9d5a94d567f3ef0f5f84c | |
parent | 5a96cd64deb38a9e4340f570591fe22b2e1843e1 (diff) | |
download | ffmpeg-161dab177fb4b6cfef66c7538b7c0622f9287278.tar.gz |
ILP64 fix
Originally committed as revision 13513 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegaudioenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index 69d5243db8..f117d31b79 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -540,7 +540,7 @@ static void compute_bit_allocation(MpegAudioContext *s, /* look for the subband with the largest signal to mask ratio */ max_sb = -1; max_ch = -1; - max_smr = 0x80000000; + max_smr = INT_MIN; for(ch=0;ch<s->nb_channels;ch++) { for(i=0;i<s->sblimit;i++) { if (smr[ch][i] > max_smr && subband_status[ch][i] != SB_NOMORE) { |