[Ffmpeg-devel] [PATCH] Redefine NAN in eval.c

Michael Niedermayer michaelni
Sat Sep 23 02:13:14 CEST 2006


On Fri, Sep 22, 2006 at 11:35:36PM +0200, Panagiotis Issaris wrote:
> Hi,
> In the process of modifying the AVOptions code to use eval.c I noticed
> that I could not report a failed parsing, as ff_eval returned 0 not NAN.
> The attached patch, defines NAN -if not already defined as f.e. in C99-
> to be sqrt(-1) in the scope of eval.c. Regression tests succeed.

iam fine with 0.0/0.0

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list