diff options
author | Alex Converse <alex.converse@gmail.com> | 2009-07-09 17:22:59 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2009-07-09 17:22:59 +0000 |
commit | 988c170547da735163a297e1c213922ad21fdbda (patch) | |
tree | 97ac0f8292dfddd9b2786e7385d29ed5a882571a /libavcodec/aacenc.c | |
parent | 181b3363043fae8ff05803f792c1cdd8cafd8c41 (diff) | |
download | ffmpeg-988c170547da735163a297e1c213922ad21fdbda.tar.gz |
Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.
Originally committed as revision 19391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index c0fb3607b7..dfa519059c 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -604,7 +604,7 @@ static int aac_encode_frame(AVCodecContext *avctx, if (!(avctx->flags & CODEC_FLAG_QSCALE)) { float ratio = avctx->bit_rate * 1024.0f / avctx->sample_rate / avctx->frame_bits; s->lambda *= ratio; - s->lambda = fminf(s->lambda, 65536.f); + s->lambda = FFMIN(s->lambda, 65536.f); } if (!data) |