changeset 11733:0c1f5ab77b36 libavcodec

fmaxf -> FFMAX to fix pre-C99 systems
author alexc
date Fri, 14 May 2010 19:38:17 +0000
parents c40cc26cd23f
children f85c4e46272e
files aaccoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aaccoder.c	Fri May 14 16:49:51 2010 +0000
+++ b/aaccoder.c	Fri May 14 19:38:17 2010 +0000
@@ -679,7 +679,7 @@
                         int qmaxval;
                         for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) {
                             for (i = 0; i < sce->ics.swb_sizes[g]; i++) {
-                                maxval = fmaxf(maxval, scaled[w2*128+i]);
+                                maxval = FFMAX(maxval, scaled[w2*128+i]);
                             }
                         }
                         qmaxval = maxval * Q34 + 0.4054;