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
This commit is contained in:
diego 2006-07-27 21:02:44 +00:00
parent a47b9d11f6
commit 56a1c4c109
1 changed files with 1 additions and 1 deletions

View File

@ -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)