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

Panagiotis Issaris takis.issaris
Fri Sep 22 23:35:36 CEST 2006


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.

 eval.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

With friendly regards,
Takis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20060922T232617-ffmpeg-nan.diff
Type: text/x-patch
Size: 266 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060922/016c5f5d/attachment.bin>



More information about the ffmpeg-devel mailing list