[gstreamer-bugs] [Bug 150200] New: - gst_init breaks atof, strtod etc.

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sun Aug 15 12:22:55 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=150200
GStreamer | gstreamer (core) | Ver: 0.8.4

           Summary: gst_init breaks atof, strtod etc.
           Product: GStreamer
           Version: 0.8.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Urgent
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thomas.kulessa at epost.de
         QAContact: gstreamer-bugs at lists.sourceforge.net


Seems like gstreamer a some strange side effect on libc's atof() function:
#include <gst/gst.h>
#include <stdlib.h>
int main (int argc, char **argv) 
{
  printf("f=%f\n", atof("0.22"));
  gst_init(&argc, &argv);
  printf("f=%f\n", atof("0.22"));
  return 0;
}

outputs:
f=0.220000
f=0,000000

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list