diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-07-13 11:45:17 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-13 12:14:25 +0200 |
commit | 001d668d40b5f87d19271c7d5521368b5187425b (patch) | |
tree | 0812bd4345eff2b6aa09a664064c4cc643d69321 /libavformat/internal.h | |
parent | b21e6b707fbc80511f4886d3b272a77b86157a2d (diff) | |
download | ffmpeg-001d668d40b5f87d19271c7d5521368b5187425b.tar.gz |
lavf: factor out conversion of ISO8601 string to unix time
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index aba890def4..8440e6bd0a 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -248,4 +248,9 @@ void ff_make_absolute_url(char *buf, int size, const char *base, enum CodecID ff_guess_image2_codec(const char *filename); +/** + * Convert a date string in ISO8601 format to Unix timestamp. + */ +int64_t ff_iso8601_to_unix_time(const char *datestr); + #endif /* AVFORMAT_INTERNAL_H */ |