summaryrefslogtreecommitdiff
path: root/libavutil/parseutils.h
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.h
parent4f7ad4c3e460a7dfe4e3186c73ad73db29336488 (diff)
parent268fb3f9851590aed724dba83d3999c8369c929f (diff)
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.h')
-rw-r--r--libavutil/parseutils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/parseutils.h b/libavutil/parseutils.h
index dfaec5eb9b..353e9a710e 100644
--- a/libavutil/parseutils.h
+++ b/libavutil/parseutils.h
@@ -19,6 +19,8 @@
#ifndef AVUTIL_PARSEUTILS_H
#define AVUTIL_PARSEUTILS_H
+#include <time.h>
+
#include "rational.h"
/**
@@ -114,4 +116,9 @@ int av_parse_time(int64_t *timeval, const char *timestr, int duration);
*/
int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info);
+/**
+ * Convert the decomposed UTC time in tm to a time_t value.
+ */
+time_t av_timegm(struct tm *tm);
+
#endif /* AVUTIL_PARSEUTILS_H */