[Bug 666887] [0.11]gstinterpolationcontrolsource uses FP_NAN

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 30 06:07:59 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=666887
  GStreamer | gstreamer (core) | 0.11.x

--- Comment #8 from Matej Knopp <matej.knopp at gmail.com> 2011-12-30 14:07:54 UTC ---
Are you sure that isnan is a macro on all platforms?
from man page:
   In C90 mode, the isnan() function tests whether x is NaN.

   In C99 mode, the isnan() macro determines whether its  argu-
   ment  value is NaN. First, an argument represented in a for-
   mat wider than its semantic type is converted to its  seman-
   tic type. The determination is then based on the type of the
   argument.

perhaps we could have

#ifdef _MSC_VER
#define isnan(f) _isnan(f)
#endif

and similar checks for other platform that don't have native isnan.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list