summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-08 21:20:55 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-08 21:20:55 +0000
commitf71869a4db1d20dd93cb6a37ba8ef1249812c864 (patch)
tree5a3cf06e8089682b559e461f8de8ab20f488b0fc /libavformat/avformat.h
parent742d87d633d20f2b1dcd7f0d2427f15cb6ac40c6 (diff)
simpler strptime - added os_support.[ch] - moved localtime_r to os_support.c
Originally committed as revision 2228 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 6abd9b4d7b..7a7f031e6c 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -12,6 +12,8 @@ extern "C" {
#define LIBAVFORMAT_IDENT "FFmpeg" LIBAVFORMAT_VERSION "b" LIBAVFORMAT_BUILD_STR
+#include <time.h>
+
#include "avcodec.h"
#include "avio.h"
@@ -487,6 +489,9 @@ int audio_init(void);
int dv1394_init(void);
#ifdef HAVE_AV_CONFIG_H
+
+#include "os_support.h"
+
int strstart(const char *str, const char *val, const char **ptr);
int stristart(const char *str, const char *val, const char **ptr);
void pstrcpy(char *buf, int buf_size, const char *str);
@@ -502,6 +507,10 @@ do {\
__dynarray_add((unsigned long **)_tab, nb_ptr, (unsigned long)_elem);\
} while(0)
+time_t mktimegm(struct tm *tm);
+const char *small_strptime(const char *p, const char *fmt,
+ struct tm *dt);
+
struct in_addr;
int resolve_host(struct in_addr *sin_addr, const char *hostname);