From 56a1c4c1099deb66c5a873b0461c177134786835 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 27 Jul 2006 21:02:44 +0000 Subject: [PATCH] The C99 function strtof is unavailable in some BSD variants. patch by Jan Knutar, jknutar $@$ nic fi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19207 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/freesdp/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/freesdp/parser.c b/libmpdemux/freesdp/parser.c index b92ddd4862..0d6f97238f 100644 --- a/libmpdemux/freesdp/parser.c +++ b/libmpdemux/freesdp/parser.c @@ -775,7 +775,7 @@ fsdp_parse (const char *text_description, fsdp_description_t * dsc) 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)