aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-27 21:02:44 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-27 21:02:44 +0000
commit56a1c4c1099deb66c5a873b0461c177134786835 (patch)
treef652b5f88dfd115fffecd7b1d433cfc77b0afcce /libmpdemux
parenta47b9d11f6eb4d9d11bdb076250b60d6a52890ab (diff)
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/freesdp/parser.c2
1 files changed, 1 insertions, 1 deletions
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)