changeset 19202:af9b014311a5

The C99 function strtof is unavailable in some BSD variants. patch by Jan Knutar, jknutar $@$ nic fi
author diego
date Thu, 27 Jul 2006 21:02:44 +0000
parents 080039d630bb
children e01c2017f4da
files libmpdemux/freesdp/parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/freesdp/parser.c	Thu Jul 27 20:53:29 2006 +0000
+++ b/libmpdemux/freesdp/parser.c	Thu Jul 27 21:02:44 2006 +0000
@@ -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)