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.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2011-11-xx - xxxxxxx - lavu 51.16.0 | |
| 17 | + Add av_timegm() | |
| 18 | + | |
| 16 | 19 | 2011-11-06 - ba04ecf - lavu 51.14.0 |
| 17 | 20 | Add av_strcasecmp() and av_strncasecmp() to avstring.h. |
| 18 | 21 | |