[MPlayer-cvslog] r19207 - trunk/libmpdemux/freesdp/parser.c

diego subversion at mplayerhq.hu
Thu Jul 27 23:02:44 CEST 2006


Author: diego
Date: Thu Jul 27 23:02:44 2006
New Revision: 19207

Modified:
   trunk/libmpdemux/freesdp/parser.c

Log:
The C99 function strtof is unavailable in some BSD variants.
patch by Jan Knutar, jknutar $@$ nic fi


Modified: trunk/libmpdemux/freesdp/parser.c
==============================================================================
--- trunk/libmpdemux/freesdp/parser.c	(original)
+++ trunk/libmpdemux/freesdp/parser.c	Thu Jul 27 23:02:44 2006
@@ -775,7 +775,7 @@
             media->a_range = strdup (fsdp_buf[1]);
           }
           else if (!strncmp (fsdp_buf[0], "framerate", 9))
-            media->a_framerate = strtof (longfsdp_buf, NULL);
+            media->a_framerate = strtod (longfsdp_buf, NULL);
           else if (!strncmp (fsdp_buf[0], "fmtp", 4))
           {
             if (NULL == media->a_fmtps)



More information about the MPlayer-cvslog mailing list