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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue