diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2017-11-20 10:51:06 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2017-11-20 10:51:06 +0800 |
commit | 462a14b1e9373bc4e4c535b0417eae5773a6172a (patch) | |
tree | ed0f26f37737f94344bebc31f0a0cde11b3f61ee | |
parent | cb259467d1ea0320b4150180f0d94b01c5b7e0ed (diff) | |
download | ffmpeg-462a14b1e9373bc4e4c535b0417eae5773a6172a.tar.gz |
avformat/swfenc: use FFABS to instead of abs
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-rw-r--r-- | libavformat/swfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index cada45ef9a..f53db0fb2b 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -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++; |