[FFmpeg-devel] [PATCH] Fix compilation on OpenBSD
Andrew Savchenko
bircoph
Wed Nov 19 21:56:43 CET 2008
Hi,
On Tuesday 18 November 2008 14:19, Reimar D?ffinger wrote:
[...]
> > > 3. Aside from the above, this is the wrong place to add a
> > > missing definition of INFINITY.
> >
> > Why? Have you a better idea? I will be glad to hear it.
>
> libavutil/mathematics.h is where that other kind of stuff is.
Very well, patch is moved there.
> And I always thought that the generic fallback define for
> INFINITY would be (1.0f/0.0f), hoping the compiler would replace
> it at compile time. The generic glibc code for it is really ugly
> and not exactly portable...
Thank you for the idea, it seems it works OK.
Please review new version of the patch.
--
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: infinity.patch
Type: text/x-diff
Size: 483 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081119/6d57a87e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081119/6d57a87e/attachment.pgp>
More information about the ffmpeg-devel
mailing list