Commit 0175d788 authored by Alex Converse's avatar Alex Converse

fmaxf -> FFMAX to fix pre-C99 systems

Originally committed as revision 23138 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent deeb7012
...@@ -679,7 +679,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, ...@@ -679,7 +679,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
int qmaxval; int qmaxval;
for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) {
for (i = 0; i < sce->ics.swb_sizes[g]; i++) { 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; qmaxval = maxval * Q34 + 0.4054;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment