[FFmpeg-devel] [PATCH] avcodec/ac3enc: use long long after switch to 64 bit bitrate
James Almer
jamrial at gmail.com
Fri Sep 18 23:30:32 CEST 2015
On 9/17/2015 9:46 AM, Ganesh Ajjanagadde wrote:
> 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.
> Have not tested whether LLONG_MAX (C99 feature) is available on Microsoft or not.
Use int64_t and INT64_MAX instead.
More information about the ffmpeg-devel
mailing list