[FFmpeg-devel] [PATCH] configure: Allow log2 with msvc12 onwards

Michael Niedermayer michaelni at gmx.at
Mon May 12 04:11:05 CEST 2014

On Sun, May 11, 2014 at 05:46:34PM +1000, Matt Oliver wrote:
> Currently log2 math function is blanket disabled if the msvcrt is detected.
> From the comments on the initial patch that included this behaviour it was
> to fix a bug that occurred with MSVC 2010 x64. However this behaviour is no
> longer correct with msvc12 onwards as it now has a C99 compliant math libc
> (and therefore working log2). So disabling it in this case is incorrect.
> Attached patch rectifies this by only disabling log2 if a pre-msvc12 libc
> version is detected.

>  configure |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> c6cec8e6376885b56b59600ce7bc29e157a25fbe  configure-Allow-log2-with-msvc12-onwards.patch
> From b8ebb3b00ddc026afb1de2fbff866419103a4450 Mon Sep 17 00:00:00 2001
> From: Matt Oliver <protogonoi at gmail.com>
> Date: Sun, 11 May 2014 17:40:20 +1000
> Subject: [PATCH] configure: Allow log2 with msvc12 onwards.




Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140512/e8e6fd29/attachment.asc>

More information about the ffmpeg-devel mailing list