mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
deeb7012b9
commit
0175d7886f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user