mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-24 15:57:00 +00:00
avformat/swfenc: use FFABS to instead of abs
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
cb259467d1
commit
462a14b1e9
@ -69,7 +69,7 @@ static inline void max_nbits(int *nbits_ptr, int val)
|
||||
|
||||
if (val == 0)
|
||||
return;
|
||||
val = abs(val);
|
||||
val = FFABS(val);
|
||||
n = 1;
|
||||
while (val != 0) {
|
||||
n++;
|
||||
|
Loading…
Reference in New Issue
Block a user