[FFmpeg-devel] [PATCH] configure: Allow log2 with msvc12 onwards
Matt Oliver
protogonoi at gmail.com
Sun May 11 09:46:34 CEST 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-Allow-log2-with-msvc12-onwards.patch
Type: application/octet-stream
Size: 1026 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140511/7a851ea0/attachment.obj>
More information about the ffmpeg-devel
mailing list