Commit 462a14b1 authored by Steven Liu's avatar Steven Liu

avformat/swfenc: use FFABS to instead of abs

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent cb259467
......@@ -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++;
......
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