Mercurial > libavformat.hg
diff avformat.h @ 230:9f4f4ca9f7b5 libavformat
simpler strptime - added os_support.[ch] - moved localtime_r to os_support.c
author | bellard |
---|---|
date | Mon, 08 Sep 2003 21:20:55 +0000 |
parents | d0332f4362b6 |
children | b99548e3ab84 |
line wrap: on
line diff
--- a/avformat.h Mon Sep 08 20:04:44 2003 +0000 +++ b/avformat.h Mon Sep 08 21:20:55 2003 +0000 @@ -12,6 +12,8 @@ #define LIBAVFORMAT_IDENT "FFmpeg" LIBAVFORMAT_VERSION "b" LIBAVFORMAT_BUILD_STR +#include <time.h> + #include "avcodec.h" #include "avio.h" @@ -487,6 +489,9 @@ 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 @@ __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);