mirror of https://github.com/mpv-player/mpv
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:
parent
a47b9d11f6
commit
56a1c4c109
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue