[FFmpeg-devel] [PATCHv2] avcodec/ac3enc: use long long after switch to 64 bit bitrate
Michael Niedermayer
michaelni at gmx.at
Thu Sep 24 04:59:53 CEST 2015
On Sat, Sep 19, 2015 at 09:57:56AM -0400, 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.
> Unfortunately, LLONG_MAX is not always available, so INT64_MAX is used instead.
>
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> ---
> libavcodec/ac3enc.c | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150924/c9198331/attachment.sig>
More information about the ffmpeg-devel
mailing list