mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01: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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user