diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-19 09:57:56 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-24 04:43:00 +0200 |
commit | 7179add427f38e14acf72368ec87a11c46848bd2 (patch) | |
tree | cbd907fb0c7bd098a7298dcfc317ef34bc8ed4a7 /libavresample/audio_data.h | |
parent | 07cd8d5676a72d80661e9bfde0a26d83aca4d029 (diff) | |
download | ffmpeg-7179add427f38e14acf72368ec87a11c46848bd2.tar.gz |
avcodec/ac3enc: use long long after switch to 64 bit bitrate
Commit 7404f3bdb switched bitrate to 64 bits.
This triggers -Wabsolute-value on clang, e.g
http://fate.ffmpeg.org/log.cgi?time=20150917122742&log=compile&slot=x86_64-darwin-clang-3.7-O3.
Therefore, usage of abs is changed to llabs, which is available on all of the platforms.
Unfortunately, LLONG_MAX is not always available, so INT64_MAX is used instead.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavresample/audio_data.h')
0 files changed, 0 insertions, 0 deletions