aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/parseutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-17 02:44:33 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-17 02:44:33 +0100
commit8709ba907a7f6f44e392161221d9628fa74b22f6 (patch)
tree027c6658a2d564cf9c8d2150fd5f14633e9e4d65 /libavutil/parseutils.c
parent4f7ad4c3e460a7dfe4e3186c73ad73db29336488 (diff)
parent268fb3f9851590aed724dba83d3999c8369c929f (diff)
downloadffmpeg-8709ba907a7f6f44e392161221d9628fa74b22f6.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: mpegaudiodec: Don't use a nonexistent log context for av_dlog avformat: Accept the ISO8601 separate format as input, too avformat: Interpret times in ff_iso8601_to_unix_time as UTC avutil: Add av_timegm as a public function cinepak: Add another special case so that it can handle the following file: lagarith: add some RGBA decoding support lagarith: Add correct line prediction for RGB Conflicts: doc/APIchanges libavcodec/cinepak.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/parseutils.c')
-rw-r--r--libavutil/parseutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index bf79921b7b..2649e3b2bc 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -471,7 +471,7 @@ static const char *small_strptime(const char *p, const char *fmt, struct tm *dt)
}
}
-static time_t mktimegm(struct tm *tm)
+time_t av_timegm(struct tm *tm)
{
time_t t;
@@ -592,7 +592,7 @@ int av_parse_time(int64_t *timeval, const char *timestr, int duration)
} else {
dt.tm_isdst = -1; /* unknown */
if (is_utc) {
- t = mktimegm(&dt);
+ t = av_timegm(&dt);
} else {
t = mktime(&dt);
}