diff options
author | Marton Balint <cus@passwd.hu> | 2016-02-06 18:02:11 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-02-14 01:51:14 +0100 |
commit | a573e6c10371bf3e3cf7e9c22abe3c07cc1c2a45 (patch) | |
tree | 8e0c916f9c9e28fb6059fa3996a997411a525dc3 /libavformat/utils.c | |
parent | 66e85a180ab3ca4b4dae0d2bada00f1aaba339c0 (diff) | |
download | ffmpeg-a573e6c10371bf3e3cf7e9c22abe3c07cc1c2a45.tar.gz |
avformat/utils: remove ff_iso8601_to_unix_time
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index cf4124a270..129a49d699 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4234,18 +4234,6 @@ int ff_find_stream_index(AVFormatContext *s, int id) return -1; } -int64_t ff_iso8601_to_unix_time(const char *datestr) -{ - struct tm time1 = { 0 }, time2 = { 0 }; - const char *ret1, *ret2; - ret1 = av_small_strptime(datestr, "%Y - %m - %d %T", &time1); - ret2 = av_small_strptime(datestr, "%Y - %m - %dT%T", &time2); - if (ret2 && !ret1) - return av_timegm(&time2); - else - return av_timegm(&time1); -} - int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance) { |