• Martin Storsjö's avatar
    avutil: Add av_timegm as a public function · 62706711
    Martin Storsjö authored
    This is useful, since the normal timegm function isn't a standard
    function (requiring _BSD_SOURCE or _SVID_SOURCE on glibc to
    be visible, and not available on e.g. windows). The widely available
    function mktime uses the local time zone, which requires ugly
    workarounds to handle UTC time.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    62706711
APIchanges 32.8 KB