diff aacenc.c @ 9944:c5ca5e520fe1 libavcodec

Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.
author alexc
date Thu, 09 Jul 2009 17:22:59 +0000
parents f91d6810f983
children 4b6f16da6652
line wrap: on
line diff
--- a/aacenc.c	Thu Jul 09 10:16:00 2009 +0000
+++ b/aacenc.c	Thu Jul 09 17:22:59 2009 +0000
@@ -604,7 +604,7 @@
     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)