1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

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;