Commit b7dd0673 authored by alexc's avatar alexc

fmaxf -> FFMAX to fix pre-C99 systems

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23138 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c864a921
......@@ -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;
......
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