fmaxf -> FFMAX to fix pre-C99 systems

Originally committed as revision 23138 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Converse 2010-05-14 19:38:17 +00:00
parent deeb7012b9
commit 0175d7886f
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
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;